Using the AuthSub token to make requests for private data?

GET https://google.com/accounts/accounts/AuthSubSess... Authorization: AuthSub token="yourAuthToken" This is the HTTP request that you should be making, and the example above means that you should include the Authorization field in the headers of an HTTP GET request that you will be making, independent of the language. You can use PHP's cURL to make this request, $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://google.com/accounts/accounts/AuthSubSess..."); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); # return output as string instead of printing it out curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: AuthSub token="yourAuthToken"'); $response = curl_exec($ch); Where is the code that you are using so far?

Not yet, but this makes a little more sense. I don't quite understand, however, what this does step-by-step. It will go to the specified CURLOPT_URL, collect the authorization token provided by the server, and then where does it go from there?

– zeedog Feb 24 at 13:44 @zeedog the code above is used when you already have the AuthSub token for a specific user. The token is sent to the server to authorize the GET request. I just answered your last question actually, I haven't read the AuthSub specs yet.

– Arvin Feb 24 at 14:48 That makes more sense. So this will grab the token from the URL and send it to the server for the authorization? – zeedog Feb 24 at 15:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions