module Halite::Chainable

Defined in:

lib/halite/src/halite/chainable.cr
stripetease/extensions/chainable.cr

Instance Method Summary

Instance Method Detail

def get(uri : String, *, headers : Hash(String, _) | NamedTuple | Nil = nil, params : Hash(String, _) | NamedTuple | Nil = nil, form : Hash(String, _) | NamedTuple | Nil = nil, json : Hash(String, _) | NamedTuple | Nil = nil, raw : String | Nil = nil, tls : OpenSSL::SSL::Context::Client | Nil = nil) : Halite::Response #

Get a resource

Halite.get("http://httpbin.org/anything", params: {
  first_name: "foo",
  last_name:  "bar"
})

[View source]