Private API example

Update http api examples so that they show how to connect to a private api using server-to-server communication.