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
  • This won't work it will transmit the following: curl --verbose -H Accept: application/json -H Content-Type: application/json without the quotations around. Commented Mar 1, 2018 at 16:21
  • I suggest you actually give it a try. Commented Mar 1, 2018 at 16:22
  • I did, it doesn't work. I got error 500 Internal Error. Commented Mar 1, 2018 at 16:22
  • Thanks for mentioning the new error message! This could be due to the broken JSON you were passing. Commented Mar 1, 2018 at 16:26
  • actually the problem was in the JSON request and I needed to exchange the single with double quotes, now it works, Thanks a lot @dhag!!! Commented Mar 1, 2018 at 16:28