There is no code for this video. Make sure to sign up for a ServiceNow DEVELOPER account to get your credentials: https://developer.servicenow.com/dev.do
It took me a long time to understand how to get the right credentials for this, so this is why I made the video.
cURL code is shown in the video at the end.