We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [httppost]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
22
votes
3answers
10k views

Session_ID_Remove Issue in API callouts in Salesforce

I have below code to get session id of another org and to connect it. Problem I am facing is not able to see session id . HttpRequest request = new HttpRequest(); request.setEndpoint('https://...
0
votes
1answer
630 views

AMPScript to get AccessToken failing

I am using below AMPScript to retrieve access token for my subsequent REST calls but it is failing with "Bad Request" %%[var @con,@body,@body1,@auth,@output,@response,@res,@callstatus ]%% %%[SET @...
1
vote
1answer
4k views

A testclass for @RestResource @HttpPost

I have a @HttpPost method in @RestResource class: @RestResource(urlMapping='/Something/*') global with sharing class HttpClass { @HttpPost global static String updateCustomObject() { //Fetching ...