$ luarocks install lua-resty-httpLua HTTP client cosocket driver for OpenResty / ngx_lua.
* HTTP 1.0 and 1.1
* SSL
* Streaming interface to the response body, for predictable memory usage
* Alternative simple interface for singleshot requests without manual connection step
* Chunked and non-chunked transfer encodings
* Keepalive
* Pipelining
* Trailers
* HTTP proxy connections
* mTLS (requires ngx_lua_http_module >= v0.10.23)
* W3C trace context propagation via traceparent header (>= v0.18.0)
Versions
Dependencies
lua >= 5.1