Hello everyone, quick question. I am trying to rec...
# squarelibraries
n
Hello everyone, quick question. I am trying to recreate this request in retrofit
Copy code
curl --location --request GET 'localhost:5000/api/657' \
--form 'token="zjdW36WT0kkrlZHzjv3IpjysT9dA6QzK"
All is fine until the --form part. As --form should be multipart data, which isn't allowed together with Get?
Multipart can only be specified on HTTP methods with request body (e.g., @POST).
c
Sounds like it should be a POST, not GET?
n
This is what I got from the backend guy. I was thinking that as well but had to verify. Thank you