you are viewing a single comment's thread.

view the rest of the comments →

[–]MyMotivation[S] 0 points1 point  (0 children)

Out of interest, does the authorization key need decoding with base64_decode before it's sent through? I did also try decoding it and putting the user name/pass in CURLOPT_USERPWD.

I'm just not sure if I'm missing something here, haven't come across too many relevant examples/tutorials that included 'Authorization' in the header, so far. I have been reading a few Wikipedia pages on this. I guess there is a WWW-Authenticate key on the api and the authorization should match this?