Gary writes about a utility function he calls Invoke-SPORestMethod, which you can use in Windows PowerShell to make simple RESTful calls against your SharePoint Online Site Collection.
Read the article at: http://www.itunity.com/article/custom-windows-powershell-function-sharepoint-rest-service-calls-1985.
Tags ITUnity, PowerShell, SharePoint Online