We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for Mappersmith! It's an amazing client ;)
The documentation says that a urlencoded version of the object will be used when sending values in the request body.
I wonder if that's possible to check the content type before creating a urlencoded version. In my case, the API only works with json objects.
Is there any way to send a json object in the request body?
thanks!
The text was updated successfully, but these errors were encountered:
Hi @albertoleal, thanks. It's possible to send whatever you want to :)
Mappersmith will convert only objects to urlencoded, for a JSON body you can do:
Client.Photo.save({ category: 'family', body: JSON.stringify({year: 2015, tags: ['party', 'family']}) })
Sorry, something went wrong.
Great, @tulios! Thanks!
No branches or pull requests
Thank you for Mappersmith! It's an amazing client ;)
The documentation says that a urlencoded version of the object will be used when sending values in the request body.
I wonder if that's possible to check the content type before creating a urlencoded version. In my case, the API only works with json objects.
Is there any way to send a json object in the request body?
thanks!
The text was updated successfully, but these errors were encountered: