title: AWS api gateway curl -X POST read from json file Missing Authentication Token
body: <p>i have one problem with aws Api Gateway , then i use the following command all works and my script in lambda works well: </p>
  
  <pre><code>curl -H "Content-Type: application/json" -X POST -d "{\"username\":\"Alexis\",\"groupname\":\"vendor.basic\",\"repositoryname\":\"newone\",\"repdescription\":\"Summm\",\"servicename\":\"codecommit.amazonaws.com\",\"sender\":\"Zorro55@gmail.com\",\"reciept\":\"Zorro55@gmail.com\",\"topicArn\":\"arn:aws:sns:eu-west-1:701177775058:PasswordSender\"}" https://yigjgmptwj.execute-api.eu-west-1.amazonaws.com/prod/New
  </code></pre>
  
  <p>But i need to read and post json from the file named file.json, and if i put my json contain in file.json and try use this: </p>
  
  <pre><code>curl -H "Content-Type: application/json" -X POST https://yigjgmptwj.execute-api.eu-west-1.amazonaws.com/prod/New.json -d @file.json
  </code></pre>
  
  <p>I have an error message : {"message":"Missing Authentication Token"} , maybe somebody knows what i should to do? maybe i need to take some policies to my roles or what? help plz.  </p>