Last active
February 8, 2024 18:46
-
-
Save cmcdevitt/b24c78fd2736fe2a5077ee71601a99f3 to your computer and use it in GitHub Desktop.
CURL Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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