Scratch that, I need to make an http requests from the ssl_certificate_by_lua_file handler and looks like ngx.location.capture is not available there since.
On Friday, September 2, 2016 at 3:34:44 PM UTC-4, CJ Ess wrote:
Just found out about ngx.location.capture, that may be more what I'm looking for
On Friday, September 2, 2016 at 2:25:08 PM UTC-4, CJ Ess wrote:
Hello,
I could really use a good example of making an client request with lua-resty-http and receiving a response. In my case the response will be a json blob.
Looking though Google I see several examples of making requests but none of them, so far, really seem to address receiving the response or handling failures. If someone has a fuller example they can share I'd really like to see it!