Understanding how HTTP works

Welcome @Bucephalus !

It seems that your Internet is broken :wink:
Or in other words: the error message implies that you can’t connect to the URLs you are using. Maybe you are behind a proxy?

Another thing:
Don’t post screenshots, they are difficult to spot and read.
Just do like I do here:

julia> using HTTP

julia> HTTP.request("GET", "http://httpbin.org/ip")
HTTP.Messages.Response:
"""
HTTP/1.1 200 OK
Date: Sat, 15 Aug 2020 09:43:28 GMT
Content-Type: application/json
Content-Length: 33
Connection: keep-alive
Server: gunicorn/19.9.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true

{
  "origin": "176.199.208.97"
}
"""

Copy&Paste into discourse makes it easy for us to copy&paste from discourse.
See Please read: make it easier to help you for more infos.

2 Likes