Welcome! Log In Create A New Profile


saving binary POST data to disk

Posted by swetonic 
saving binary POST data to disk
October 02, 2019 01:55PM

I'm working on a Microsoft Office Online integration, and they POST data
to us (we use nginx in a rails app), but the post body is binary data,
not multipart/form-data.

I'd love to use nginx-upload-module, or something similar to save the
binary data to disk, then pass the request to rails. Is anyone aware of
any other nginx modules that would do this? I tried
nginx-upload-module but I get
NGX_HTTP_UNSUPPORTED_MEDIA_TYPE because there's no Content-Disposition
header coming through the POST.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready