+ 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.

User-added image

Please refer below link which might help you in this

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
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.

prasad p 18prasad p 18
give me some examples please