Skip to content

Instantly share code, notes, and snippets.

@cmcdevitt
Last active February 8, 2024 18:46
Show Gist options
  • Save cmcdevitt/b24c78fd2736fe2a5077ee71601a99f3 to your computer and use it in GitHub Desktop.
Save cmcdevitt/b24c78fd2736fe2a5077ee71601a99f3 to your computer and use it in GitHub Desktop.
CURL Test
curl "https://<your_instance_name>.service-now.com/api/now/table/incident?sysparm_limit=1" \
--request GET \
--header "Accept:application/json" \
--user 'user_name':'password'
curl "https://<your_instance_name>.service-now.com/api/now/table/incident?sysparm_limit=1" --request GET --header "Accept:application/json" --user 'abel.tuter':'xxxxxx'
//Notes
Build your request in REST API Explorer
In the "Code Samples" section select cURL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment