0

I'm using Restler's API Explorer (a fork of Swagger UI) and when I test a service call there it works fine but when I cut and paste the same URL into Chrome's Advanced REST Client I get a "403 Forbidden" error. How can that be? Is there some sort of required header parameter that needs to be passed with the request?

Here are the screen shots:

enter image description here

enter image description here

ken
  • 8,763
  • 11
  • 72
  • 133

1 Answers1

0

You need to get the content type right. Make sure you are sending the data as JSON (application/json)

You need to add a header

Content-Type application/json
Arul Kumaran
  • 983
  • 7
  • 23