Questions tagged [httppost]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
22
votes
3answers
13k 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
794 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
6k 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 ...
0
votes
2answers
695 views

Getting Error while try to get Salesforce OAuth access token from SFMC cloudpages ssjs httppost?

Actually I try to get access token of salesforce DC from salesforce MC by SSJS Httppost I need to create a record in salesforce object From Salesforce marketing cloud pages <!doctype html> &...