22.07.2016, 08:28
Is it possible to send a HTTP Get request with the HTTP function, to a URL that forces SSL?
When I go to https://api.github.com or http://api.github.com in my browser, it works (obviously). But when used with the HTTP function, it has response code HTTP_ERROR_BAD_HOST.
When I use api.github.com it has response code HTTP_ERROR_MALFORMED_RESPONSE.
I saw this thread, but it doesn't really say if there is (another) method to do so. Is there any way I can get this to work?
When I go to https://api.github.com or http://api.github.com in my browser, it works (obviously). But when used with the HTTP function, it has response code HTTP_ERROR_BAD_HOST.
When I use api.github.com it has response code HTTP_ERROR_MALFORMED_RESPONSE.
I saw this thread, but it doesn't really say if there is (another) method to do so. Is there any way I can get this to work?