You need to sign in to do that
Don't have an account?
Yogesh Lolge
REST API callout issue
What is the meaning of the below line?
cant understand execution
RestRequest request = new RestRequest(); request.requestUri = URL.getOrgDomainUrl().toExternalForm() + '/services/apexrest/api/v1/party/';
cant understand execution
RestRequest request = new RestRequest(); request.requestUri = URL.getOrgDomainUrl().toExternalForm() + '/services/apexrest/api/v1/party/';
Greetings!
The above code will generate the link to make the callout url.
Reference:https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_url.htm
Based on which,you can make the REST callout by posting any data or getting the data from any third party tool.
Please mark it as best answer if it helps you to fix the issue.
Thank you!
Regards,
Shirisha Pathuri