The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [post]

POST is a request method supported by the HTTP protocol used by the World Wide Web. It is often used when uploading a file or when submitting a completed web form.

Filter by
Sorted by
Tagged with
3
votes
1answer
3k views

Novice Question: making a cURL callout from Apex to a 3rd party app?

I'm only familiar with REST and SOAP as API standards, and I'm a novice in general, so pardon my lack of understanding of most of these concepts. I have a web form on a third party heroku app that I ...
7
votes
2answers
2k views

Communicating between Lightning component and VF Page

I am trying to use lightningStylesheets="true" and communicate from my LC. This doc exactly shows the steps on how to communicate between LC --> VF: https://developer.salesforce.com/blogs/developer-...
3
votes
3answers
10k views

How to insert multiple records in an object using REST API post method in workbench

By providing following uri and by using following Request Body, we can insert a single record in a sObject uri: /services/data/v36.0/sobjects/sObject Request Body : { "field1" :"value1", "field2" :"...
1
vote
4answers
5k views

Send Blob file via Apex Rest Callout

I'm trying to send a Blob Apex REST callout and it is keep failing. I tried all the examples in the web but didn't work. What is the standard and correct way to send Blob data via REST callouts? //...
3
votes
1answer
993 views

Can we insert multiple records in sObject using REST API post method without using apex class in workbench or postman

/services/data/v36.0/sobject/ObjectName and { "name" : "some name", "Description" : "Some Description" } By using above uri and request body we can insert a single record in object with post method ...
3
votes
2answers
952 views

Get list of contacts from search layout

When I select multiple clients on this list and click the Email Contacts button on this search page I want to open a visual force page with a special email form on it. How do I get the ids of all of ...
1
vote
0answers
431 views

CurrentPage getParameters() is empty the first time I post to a page

I have a VisualForce/APEX page that I am posting to through a form. I send over a list of contacts as a single string. When I get to the other page I use the following code to retrieve the post ...
3
votes
1answer
3k views

Cannot deserialize instance of datetime from VALUE_STRING value

I have a REST webservice which inserts multiple records into custom objects. I am executing it on workbench using the following request: {"req" : {"tickets": [{ "External_TicketID__c" :1853, "...
2
votes
1answer
6k views

how to create a record in workbench using REST Explorer

I am trying to create a new account record using post method in work bench. But I am unable to follow exact format of map url and it is giving the following error. Please suggest me a correct way how ...
2
votes
1answer
1k views

Why is this triggered send “Queued” in response, but never actually queued or sent?

It sounds like my issue is similar to this question. I'm currently POSTing (via Postman) to the following: https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/key:MY_CORRECT_KEY/send?...
2
votes
1answer
7k views

How to write a test class for an apex class with do post method

I have tried to write a test class for the below class with post method. But i am not able to bring the coverage.How can I approach this. Thanks in advance. /* code starts here*/ @RestResource(...
1
vote
1answer
50 views

Apex callout with a client certificate

I have written one Rest service which is returning a access token to resend it to endsystem to get the final response but we are getting "Request processing failed; nested exception is java.lang....
0
votes
0answers
809 views

How to use Simple Stripe Checkout in salesforce

I am trying to use the Stripe's Simple Checkout Demo with Salesforce to receive a token. Can someone help me figure out why this simple demo does not work? I am not receiving any value in the ...
0
votes
0answers
174 views

System.CalloutException: Unable to tunnel through proxy. Proxy returns “HTTP/1.1 503 Service Unavailable” ERROR

I'm trying to make an HTTP Request to other System. They provided the endpoint URL which contains a Port number. https://Test.com:50001/RESTAP/BGN/PRDV/CREATE When I'm trying to make the request I'...