Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Are you passing the header with Content-Type:application/json? Commented Jan 10, 2019 at 12:16
  • In body I specify that right? Commented Jan 10, 2019 at 12:17
  • Not in the body, but as a header. Test this on Postman first. Also, you must be using an API link for this? Commented Jan 10, 2019 at 12:18
  • The API link may require some sort of authentication as well. Please share the status code that you get on Postman. For internal server error, its most likely 500. Commented Jan 10, 2019 at 12:27
  • 1
    When you are sending information in the body, you should do a POST request. If you are trying to do a GET request, the body has no significance. This link maybe helpful docs.aws.amazon.com/apigateway/latest/developerguide/… Commented Jan 10, 2019 at 12:31