with curl or other tools, I can easily feed the body from a file. It will be convenience for testing.
Could we have the same feature with aws-api-gateway-cli-test? Such as:
--body="@/path/to/filename"
I did a try, but seems this feature is not ready currently.
Authenticating with User Pool
Getting temporary credentials
Making API request
undefined:1
@mocks/create.json
^
SyntaxError: Unexpected token @ in JSON at position 0
with curl or other tools, I can easily feed the body from a file. It will be convenience for testing.
Could we have the same feature with
aws-api-gateway-cli-tes
t? Such as:I did a try, but seems this feature is not ready currently.
Reference: https://stackoverflow.com/questions/15912924/how-to-send-file-contents-as-body-entity-using-curl