title: Why can I invoke my API Gateway endpoint from terminal but not from Braintree's console?
body: <p>I have an API Gateway that invokes a lambda function. I deployed the gateway and am succesfully invoking the function from my terminal by sending a POST request to the endpoint. I do this like so:</p>
  
  <pre><code>curl -H "Content-Type: application/json" -X POST -d "{\"bt_signature\":\"curl\",\"bt_payload\":\"abcsdsddsd\"}"  https://*myendpointurl*
  </code></pre>
  
  <p>When I enter this endpoint in my Braintree console though as a webhook url though and click "check url" i get the following error pop up:</p>
  
  <pre><code>Last delivery unsuccessful. Invalid server response 400
  </code></pre>
  
  <p>It is weird that it works when I invoke it from my terminal but not here. Futhermore when i enter my endpoint for the method in my web browser it turns up with this error message: </p>
  
  <pre><code>{"message":"Missing Authentication Token"}
  </code></pre>
  
  <p>I have double checked I am using the write endpoint for this specific POST method. It's just weird that it works from terminal but not as a webhook url in braintree. Ideas?</p>