Yes, these suggestions worked. Thanks!
On Oct 30, 2018, 2:14 AM -0700, Dmitry Volyntsev , wrote:
>
>
> > On 29 Oct 2018, at 23:44, Jonathan Esterhazy
> > wrote:
> >
> > Hello!
> >
> > I am trying to use njs (ngx_http_js_module) to modify POSTed request data
> > before sending to an upstream api.
> On 29 Oct 2018, at 23:44, Jonathan Esterhazy
> wrote:
>
> Hello!
>
> I am trying to use njs (ngx_http_js_module) to modify POSTed request data
> before sending to an upstream api. Using the req.requestBody function works
> fine for small requests, but for larger ones causes this error:
>
Hello!
I am trying to use njs (ngx_http_js_module) to modify POSTed request data
before sending to an upstream api. Using the req.requestBody function works
fine for small requests, but for larger ones causes this error:
[error] 14#14: *18 js exception: Error: request body is in a file
If I was