openziti / tlsuv

TLS and HTTP(s) client library for libuv
https://docs.openziti.io/tlsuv/
MIT License
43 stars 5 forks source link

HTTP form request #191

Closed ekoby closed 9 months ago

ekoby commented 10 months ago

add convenience method for sending HTTP form request

   tlsuv_http_req_t *req = tlsuv_http_req(&clt, "POST", "/post", resp_cb, &resp);

    tlsuv_http_req_form(req, 2, (tlsuv_http_pair[]){
            {"ziti", "is awesome!"},
            {"message", "Check out https://openziti.io"},
    });