Forum Discussion

codydearkland_2's avatar
codydearkland_2
Icon for Nimbostratus rankNimbostratus
Jun 08, 2016

Error - POSTMAN REST Client - Google Chrome - "Found invalid content-type. The content-type must be application/json" - Header IS set

Weirdest thing...   I'm using POSTMAN to work with the REST Interface on the F5's and im having a heck of a time getting stuff to post.   I've set the content-type header to application/json. ...
  • Andrew_Pinder_2's avatar
    Jun 17, 2016

    FIXED! The issue seems to have been caused by the Postman-Token header confusing the F5 (you can see it using chrome tools network tab) . Somehow the F5 was treating the Postman-Token as the Content-Type header. Disable the Postman-Token header (Settings > General > Headers > "Send Postman Token header") and the request gets through.

     

    You can see the purpose of the Postman-token header here https://www.getpostman.com/docs/settings

     

    Enable chrome tools for postman http://blog.getpostman.com/2014/01/27/enabling-chrome-developer-tools-inside-postman/