Solution
Looking at the HTTP palette, there’s a folder dedicated to headers.
In this folder, there’s an Add Header VI. To change the Content-type to a JSON/XML you can use the following syntax:
Here's another example of the full system for the PUT.vi: