I want to pass form data with GET request.
I have success with this curl:
curl http://sample.com -d 'action=login_request&user_name=balvan'
but I need to pass that same stuff from -d
. with this function call:
(http-client/request
{:url base-url
:method :get
:deadlock-guard? false
:insecure? true})
How to add those "-d" parameters within the request body?
I am have [org.httpkit.client :as http-client]
in ns declaration and [cheshire "5.8.1"]
in project's dependencies.