-
Notifications
You must be signed in to change notification settings - Fork 115
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
Calling a REST put with JSON Content #121
Comments
Updating as worked out the malform. Tried from postman so works there but was curious as the response is failing with the following
|
It looks like the problem is with the response and not the request. Try printing out the result of |
Hi John thanks for response.. When i tried your suggestion i was getting same error. Seems when building the response it errors.. I could comment out the return and id still get it. When i run it from firefox httpRequester this is what is see -- response -- OK When i look at there documentation at Salesforce i see formats JSON and response body none Thanks |
Thanks a bunch on your project as this is great. I was wonding if you could point me to proper format to include json in a PUT call. Apologies for rudimentary question does this look correct for the post call. I believe my json is malformed because getting a 400 but wanted to double-check this right approach as i stumbled through
The text was updated successfully, but these errors were encountered: