- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 07:44 PM
Hi,
I'm new to the ServiceNow API. According to the "Integrate using the REST API" documentation page, we need to use BasicAuth in header when calling the REST API. Where can I get such basic auth code for my developer instance use?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 10:38 PM
Hi Jack,
1. Go to "Rest API Explorer" from the left navigation.
2. Select the method you want to use. Fill all the necessary details for your web service i.e. table name and response type etc.
3. Click Send.
4. Click any of the link you want from these: Servicenow, python, ruby and javascript etc.
5. You will see the header for your relevant task.
Hope its helpful.
Thanks and Regards,
Vikas Malhotra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 10:38 PM
Hi Jack,
1. Go to "Rest API Explorer" from the left navigation.
2. Select the method you want to use. Fill all the necessary details for your web service i.e. table name and response type etc.
3. Click Send.
4. Click any of the link you want from these: Servicenow, python, ruby and javascript etc.
5. You will see the header for your relevant task.
Hope its helpful.
Thanks and Regards,
Vikas Malhotra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 08:36 AM
Clicking the link of scripting language does tell me how to pass the credential on API call. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 08:39 AM
Hi Jack,
Glad to know it worked for you.
You may mark my response helpful or correct so as to help others also who may have the same issue.
Thanks and Regards,
Vikas Malhotra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 11:43 PM