I`m trying to pipe my POST request with file to AWS. For sending file I do like this:
curl -X POST -H "Content-Type: image/png" -F \'resource=@test-png.