Description
This error can happen when making requests to a Drupal REST endpoint from a web app, which requires an X-CSRF-Token to be set.
If the X-CSRF-Token is invalid or not present, a "No "Content-Type" request header specified" error will be thrown, for some reason.
You also need to inclide an empty json object "{}" in the request body as a missing post payload can also cause issues.