This is what I need to accomplish. I'm using Google's Provisional API and I'm trying to retrieve a list of users I already have created.
I need to send to Google
Content-type: application/atom+xml
Authorization: GoogleLogin auth=your-authentication-token
As headers in PHP. I also need to send a Get request to the page: https://www.google.com/a/feeds/{domain}/user/2.0 and I'm totally lost as to how to do this without using a form.
My attempt at the headers is below. Is that considered correct?
<?php
header("Content-Type: Application/atom+xml");
header("Authorization: GoogleLogin auth=[auth token]");
?>
As for the GET request what would that code look like?