makeWebRequest is not working for me, is there another way?

Hi,

for those of you who have seen my previous posts know Im having problems with the makeWebRequest call returning an INVALID_HTTP_BODY_IN_NETWORK_RESPONSE (-400) due to mismatch between the server's content-type header and the actual content, should be application/JSON but server response doesn't look entirely like a JSON response, more like a string. When I set response content type to HTTP_RESPONSE_CONTENT_TYPE_TEXT_PLAIN it works fine in the sim but not on target (yes Im running CIQ 3.1), so close but yet so far away....  

Unfortunately I have no way to impact the server, and building my own custom proxy to convert either header or response body seem a bit overwhelming for my level of server-side development skills, Ive tried, and failed.  

As a last option, I was wondering if there are other ways to make web requests other than through makeWebrequest, perhaps some other more low-level functions? I don't mind to do manual parsing of data etc, as log as I can do it on the client without the need for an intermediate proxy solution. 

As you can see, Im getting a bit desperate here as Im completely stuck with my app development. I have filed a trouble ticket but as I am a product manager myself I do understand there is probably a lot of other things in the dev backlog to prioritise so to be realistic I don't expect someone to pick up my request anytime soon. 

Any help appreciated. Really. 

/Fredrik