The HTTP.jl library provides the function HTTP.request with the following signature HTTP.request(method, url [, headers [, body]]; <keyword arguments>])
I am not sure what this syntax mean url [, headers [, body]]
In particular, what I am trying to do is make a GET request like: https://example.org/api?api_key=my_api_key so I am calling: HTTP.request("GET", "https://example.org/api")
Now how do I specify my api_key in the header?
request(method, url)or likerequest(method, url, headers) or likerequest(method, url, headers, body), but notrequest(method, url, body)for example. Also, you're missing a square bracket above, so I don't know whether keyword arguments are optional in themselves or required if a header is used.