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

Apex Rest API help



I am trying to access my Rest API class from curl but i am not able to connect my instance using curl.


1. First of all if i want to call my WS through curl what will be the callback url in the remote access setting?

2. When ever i try to call the REST WS through curl using the curl command "curl -H "Authorization: Bearer Access Token " ID" " i am getting an SSL error.If i replace it -H with -k it throws invalid session ID.


Please help me on this.