• Sarath lohi 4
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 1
    Replies
The "Apex Web Services" trailhead unit/module says to get the session id form the Workbench -> Session Information menu option in the connection  folder.  But I don't know if I'm doing something wrong but I don't see any session id value listed there.

So I found another simple way to get the session id to pass into cURL command line as instructed by the trailhead.

Simply copy and paste the following line into the Execute Annoymous Window of the developer console and view the log file:

System.debug('Sessionid='+UserInfo.getSessionId());

 
The "Apex Web Services" trailhead unit/module says to get the session id form the Workbench -> Session Information menu option in the connection  folder.  But I don't know if I'm doing something wrong but I don't see any session id value listed there.

So I found another simple way to get the session id to pass into cURL command line as instructed by the trailhead.

Simply copy and paste the following line into the Execute Annoymous Window of the developer console and view the log file:

System.debug('Sessionid='+UserInfo.getSessionId());