Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

KinoCurl

livebooks/kino/kino_curl.livemd

KinoCurl

Mix.install([
  {:kino_curl, "~> 0.2"},
  {:ex_curl, "~> 0.3"}
])

GET

response = ExCurl.get!("https://hex.pm")

POST

response = ExCurl.post!("https://httpbin.org/post")

PUT

response = ExCurl.put!("https://httpbin.org/put")

PATCH

response = ExCurl.get!("https://hex.pm")

DELETE

response = ExCurl.get!("https://hex.pm")