-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
Methods with body should get encode argument #103
Comments
Is this issue the reason why I can't POST with JSON in the body, but I can with a list?
|
Are you sure that API accepts json? The fact that the first one works suggests that it doesn't. |
The API recommends that you POST the requests as JSON, but you can also url encode the requests. It can answer in XML or JSON except for "data" requests (others are table, tableinfo and subject). I thought that I was posting a JSON request in the first POST, but I just found the verbose() function and now see that I don't. I think I'll try to work with the url encoding instead. Thanks! |
Which can be json, xml, mutlipart or form. Need to preserve existing multipart behaviour (or at least warn)
The text was updated successfully, but these errors were encountered: