dothttp 0.10.0

dothttp is a text-based scriptable HTTP client. It is a fork for dot-http. It is a simple language that resembles the actual HTTP protocol but with additional features to make it practical for someone who builds and tests APIs.
Documentation
POST http://{{host}}/post
Content-Type: application/json

{
  "value": "true"
}

> {%
    client.test("valid request", () => {
        client.assert(response.status == 200);
        client.assert(response.body["json"]["value"] == "true");
    });
%}


###

GET http://{{host}}
    /get

> {%
    client.global.set("output", "true");
    client.test("correct response", () => {
        client.assert(response.status == 200);
    });
%}

###

GET http://{{host}}/get
  ?x=y&
  a=b


> {%
    client.test("correct response", () => {
        client.assert(response.status == 200);
        client.assert(response.body["args"]["x"] == "y");
        client.assert(response.body["args"]["a"] == "b");
    });
%}