function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vishalg89Vishalg89 

rest api call from salesforce to salesforce

Hi,

 

I have a apex REST API in my 1st salesforce. I need to call the REST API from my 2nd salesforce account using HTTP POST. please help me regarding this problem and share any useful code/link

 

Thanks-

Vishal Gupta

hitesh90hitesh90

Hi Vishal,

 

Refer below link for HTTP post request.

How to make a post request to some other server from apex controller

 

Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.

Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator

wdfwdfwdfwdf

Use the following link below 

 

http://salsforcebascis-baljeet.blogspot.in/2013/04/how-to-call-from-one-salesforce-account.html

 

if any confusion rely in post

 

Vishalg89Vishalg89

Thanks guys.. Its working..