NeoPuma
03-20-2009, 03:41 PM
Hi Guys
This is probably a simple error, its just i've never dealt with these before and google didn't seem to give me any luck.
I'm installing a script and step 2 says:
After a successful authentication, it redirects the user back to the token_url at your website as specified in step 1. Write some code to handle requests to your token_url, and extract the token parameter.
Make the auth_info API call
HTTP POST to https://url.com (url edited) with the following required parameters:
apiKey Key Removed
token Use the token sent to your token_url
How can I post the data to the url and get the response that's produced? I can't really see where to go with this. A fopen() produced a "400 BAD REQUEST" response, and other than that I don't really know where to go, so any help would be highly appreciated.
Cheers
Matt
This is probably a simple error, its just i've never dealt with these before and google didn't seem to give me any luck.
I'm installing a script and step 2 says:
After a successful authentication, it redirects the user back to the token_url at your website as specified in step 1. Write some code to handle requests to your token_url, and extract the token parameter.
Make the auth_info API call
HTTP POST to https://url.com (url edited) with the following required parameters:
apiKey Key Removed
token Use the token sent to your token_url
How can I post the data to the url and get the response that's produced? I can't really see where to go with this. A fopen() produced a "400 BAD REQUEST" response, and other than that I don't really know where to go, so any help would be highly appreciated.
Cheers
Matt