Apparently when indicating the Content Type through the GUI it gets sent as json instead which prevents the proper functioning of the rest afterwards.