ReqClient.Plugin.Curl (req_client v0.1.17)

Copy Markdown View Source

Req to-curl command plugin

todo

  • from curl command to Req request
  • auto stub?

curl -H "Content-Type: application/json -X POST --data 'xxx' url | jq

Summary

Functions

attach(req, opts \\ [])

curl_req(req)

enable?(req)

run_httpc(req)