Skip to content

Instantly share code, notes, and snippets.

@clientbala
Created April 25, 2018 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clientbala/f0f68cf8a863eef878d6653e5fb4a2f5 to your computer and use it in GitHub Desktop.
Save clientbala/f0f68cf8a863eef878d6653e5fb4a2f5 to your computer and use it in GitHub Desktop.
VSCode RestClient Extension
# @name getclientsidewebparts
GET https://sktechnologies.sharepoint.com/_api/web/getclientsidewebparts HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: {{$aadToken sktechnologiesltd.co.uk}}
###
# @name get user
GET https://graph.microsoft.com/v1.0/users/kshsbala@sktechnologies.onmicrosoft.com/ HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: {{$aadToken sktechnologiesltd.co.uk}}
###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment