I need to upload image to my Graphql server from android application. The details in the documentation is not working. I need an example.
Upload image to Graphql server using apollo kotlin
483 views Asked by Shahriar At
1
I need to upload image to my Graphql server from android application. The details in the documentation is not working. I need an example.
Came up with the solution. 1st I needed to create an upload scalar type. in Fragment class:
In case what the UploadRequestBody class does: