POST https://api.ctl.io/v2/authentication/login { "username": "YOUR.USERNAME", "password": "YOUR.PASSWORD" }
hurl post.hurl
POST https://api.ctl.io/v2/authentication/login { "username": "YOUR.USERNAME", "password": "YOUR.PASSWORD" } HTTP/1.0 200 [Asserts] jsonpath "$.status" == "LOGGED"
[1] https://github.com/Orange-OpenSource/hurl
curl -d @post.json http://example.com
Awesome name.
[1] https://github.com/Orange-OpenSource/hurl