Timeline for Site Guest User not allowed to make callout
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 7, 2016 at 10:11 | comment | added | sfdcfox | @SFDCGOD It doesn't matter how it debugs, it matters how the server actually sends it. The HttpRequest object is only the requested configuration. The code that actually opens the connection will adjust your request accordingly. I can probably write up a demo to show it in action. | |
| Jan 7, 2016 at 8:01 | comment | added | ashishcloud | @sfdcfox as per your comment, if I set body in a get request, it will convert 'GET' request into 'POST' . But when I see the debugs , request shows as it executed as 'GET' request. | |
| Jan 7, 2016 at 7:11 | comment | added | sfdcfox | @SFDCGOD A little known tidbit: GET doesn't support a body. If you set the body, this overrides the method from GET to POST. | |
| Jan 7, 2016 at 6:33 | comment | added | ashishcloud | Below paste snippet is my Java Rest implementation pastebin.com/embed_js/9BhduvSQ | |
| Jan 7, 2016 at 6:30 | comment | added | ashishcloud | @sfdcfox Because I was doing a GET request and was also setting Body for the request like request.setBody(data); . When I commented this, it works. | |
| Jan 7, 2016 at 0:34 | comment | added | sfdcfox | 405 means the wrong "http verb" has been used for the service, for example, using POST / HTTP/1.1 when the path doesn't support POST. | |
| Jan 7, 2016 at 0:19 | history | edited | Keith C | CC BY-SA 3.0 | added 427 characters in body |
| Jan 6, 2016 at 23:55 | history | answered | Keith C | CC BY-SA 3.0 |