Open IcingInk opened 7 years ago
see the script in /self-test
This works post-large-https: big.b64 @curl -H "Accept: application/json" \ -H "Content-type: application/json" -X POST \ -d @big.b64 https://${HOST}/MediaServerResteasy/media | json_pp
with local nginx: different behavior: post with curl and get with browser browser get , reroutes to https : get http://api.nrm.se/MediaServerResteasy/media/v1/bcad48f1-30d0-4590-aa55-f084c4efacc2?format=image/png
see the script in /self-test
This works post-large-https: big.b64 @curl -H "Accept: application/json" \ -H "Content-type: application/json" -X POST \ -d @big.b64 https://${HOST}/MediaServerResteasy/media | json_pp