curl -X POST  -H "Content-Type: multipart/form-data" -F "AWSAccessKeyId=value" -F "key=value" -F "policy=value" -F "signature=value"  -F "x-amz-security-token=value" -F "file=@/path/to/test.pdf" https://guru-automations-documents.s3.amazonaws.com/
204 No Content

This endpoint uploads a file to Guru. It uses the response from a Create Automation File call to know where to upload the file to. All references to response. below refer to values from that response.

POST <response.url>

Request

file
bytes

The bytes of the file

Each key-value pair from response.fields must also be passed in the request.

Response

None. Once the upload has completed then a status code of 204 will be returned.

curl -X POST  -H "Content-Type: multipart/form-data" -F "AWSAccessKeyId=value" -F "key=value" -F "policy=value" -F "signature=value"  -F "x-amz-security-token=value" -F "file=@/path/to/test.pdf" https://guru-automations-documents.s3.amazonaws.com/
204 No Content