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
prasad p 18prasad p 18 

how to create records in any object by using rest api post method?give some examples?

Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Prasad,

If you are using POST method through workbench give endpoint as below and in the request body give the field values.
/services/data/v47.0/sobjects/Account/

User-added image

Please refer below link which might help you in this
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_create.htm

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards
prasad p 18prasad p 18
how should i call that rest api post class in  process builder
NitishNitish
Hi Prasad,

If you want to make callout from process builder then you need to create apex class with invocable method and future method.
Call the invocable method from process builder and from invocable method call the @future method and write your callout logic there in @future method.

Thanks,
Nitish 
prasad p 18prasad p 18
give me some examples please