Re: How to Diagnose http_get() Error (Returning -2)

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
euphoric said...

My http_get() call is returning -2 to a particular URL, but not to others. This particular URL is valid (can be reached in a browser), so I'm not sure what the -2 means. Anyone have a clue there?

That's ERR_INVALID_PROTOCOL. Are you trying https (which is still unsupported) or maybe using an ftp url? Or maybe you just forgot to include the http: part!

I'd wager that's the case as well. I recommend using libcurl instead.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu