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
My Salesforce 20My Salesforce 20 

How to post REST API

How to create an endpoint URL in Salesforce, so that user can post data into it using REST( User = Third Party Application outside of Salesforce)?
Can anyone please help me with Sorce Code and Seps to be followed.
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

https://www.greytrix.com/blogs/salesforce/2018/06/04/creating-an-endpoint-in-salesforce-and-using-rest-api-to-externally-access-it/

https://www.salesforceben.com/salesforce-summary-integrating-third-party-apis-using-apex-restful-callouts/

https://www.veonconsulting.com/salesforce-rest-api-explained/

https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AWWD

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas