Advertisement
Guest User

Untitled

a guest
May 6th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. # Invoke-RestSPO -Url "https://XXXXXXXX.sharepoint.com/_api/web"
  2.  
  3. <#
  4. .Synopsis
  5. Sends an HTTP or HTTPS request to a SharePoint Online REST-compliant web service.
  6. .DESCRIPTION
  7. This function sends an HTTP or HTTPS request to a Representational State
  8. Transfer (REST)-compliant ("RESTful") SharePoint Online web service.
  9. .EXAMPLE
  10. Invoke-SPORestMethod -Url "https://contoso.sharepoint.com/_api/web"
  11. .EXAMPLE
  12. Invoke-SPORestMethod -Url "https://contoso.sharepoint.com/_api/contextinfo" -Method "Post"
  13. #>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement