I am trying to do a GET request via curl_fetch_memory and I've set my credential in handle.
It is working on a normal url BUT now i am having issue doing GET to a url that requires API key.
Tried handle_setheaders BUT seems like it missed the user and password piece.
Thanks for the reply!
Yes, handle_setheaders does set the API and I think my issue here is more on the authenticate part where it is throwing not autorized.
I got this sorted out by adding httpauth = 1L into the handle_setopt which sets the authentication method to try initially.