Questions tagged [httppost]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
51 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
1answer
136 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
596 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
75 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
1answer
72 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
75 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
222 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
700 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 ...