misslilbit02 Posted February 12, 2008 Share Posted February 12, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/90787-sending-and-receiving-info-from-google-via-php/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.