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

Questions tagged [httppost]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
37 views

Sending an HTTP request with an imported WSDL with the string 'http://0X'

I have a WSDL that i consume imported as an Apex class. One of the methods receives one String param that is the account website, and one of our users inserted a website that starts with 'http://06'. ...
1
vote
0answers
57 views

SSJS HTTP.Post ValidEmail with requested Access Token

I am trying to make an API request in SFMC to validate email addresses, which requires first to get the Access Token. I was able to request the access token, but then the next HTTP.Post request I do ...
1
vote
1answer
379 views

Visual Workflow plugin to callout to an external webservice and POST JSON

Can anyone help in providing an example of an APEX class which can make a HTTP JSON POST request to an external webservice using a plugin for SF visual workflow? Example I tried following here ...
0
votes
1answer
30 views

HTTP Post response error - “Value was either too large or too small for an Int32.”

I am trying to retrieve a portion of the response related to a template-based email via a Cloudpage. I am attempting to get the "items" portion of the response. I get the following error: Value was ...
0
votes
0answers
54 views

Issue in retrieving response body for 4xx and 5xx response code via HTTPPOST2

I am calling third party API via HTTPPOST2 using ampscript, and need response body for response codes like 4xx or 5xx. For success scenario, I am getting the response body in response parameter of ...
0
votes
1answer
47 views

POST to an external API from visualforce page

I am using OpenCTI in Lightning to enable click to dial. I want to click on the phone number and call an external API to make the dial. I have a visualforce page as CTI Adapter. When the page loads ...
0
votes
0answers
40 views

Test class For http Post

i wrote unit test code and got 52% code coverage and struck with following error: System.NullPointerException: Attempt to de-reference a null object. Please correct me where i wrong i am new tp ...
0
votes
1answer
150 views

Apex Post not accepting setBody

public static HttpResponse getIntegratedInfoFromExternalService(String WebURL , String key) { Http h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint(WebURL); ...
0
votes
1answer
536 views

Send Bulk SMS by calling Twilio API using http callout

I'm using Twilio to send SMS through salesforce. I'm able to send the sms by calling http callout to Twilio API. but, Now I've send bulk sms, when I inserting bulk record in salesforce. I'm ...