Skip to content

Instantly share code, notes, and snippets.

@WhereIsX
Created April 18, 2021 05:45
Show Gist options
  • Save WhereIsX/55a53243dc51e7a5143d0c576c66b652 to your computer and use it in GitHub Desktop.
Save WhereIsX/55a53243dc51e7a5143d0c576c66b652 to your computer and use it in GitHub Desktop.
204 | result = HTTP::Client.get(
^--
Error: no overload matches 'HTTP::Client.get', path: String, headers: HTTP::Headers, form: Hash(String, String)
Overloads are:
- HTTP::Client.get(url : String | URI, headers : HTTP::Headers | ::Nil = nil, body : BodyType = nil, tls : TLSContext = nil)
- HTTP::Client.get(url : String | URI, headers : HTTP::Headers | ::Nil = nil, body : BodyType = nil, tls : TLSContext = nil, &block)
- HTTP::Client.get(url, headers : HTTP::Headers | ::Nil = nil, tls : TLSContext = nil, *, form : String | IO | Hash)
- HTTP::Client.get(url, headers : HTTP::Headers | ::Nil = nil, tls : TLSContext = nil, *, form : String | IO | Hash, &block)
__D< crystal -v
Crystal 1.0.0 [dd40a2442] (2021-03-22)
LLVM: 10.0.0
Default target: x86_64-unknown-linux-gnu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment