phani
10 years agoAdvisor
http.client FreeMarker Context Object is returning the error "html found in response"
Hi,
We are trying to get HTML/XML data from thirdparty API by using http.client FreeMarker Context Object.
E.X.: <#assign response = http.client.request(API).header("Authorization", token).body("{ 'mode':'test'}", "application/xml").get()/>
The http.client.response FreeMarker Context Object (${response.error.message}) is returning the errror "html found in response".
We even tried changing the Content-Type to "text/html" but same error we are reciving.
Your help could be highly appreciated.
Thanks & Regards,
Phani
Hi Phani
I've updated a config on that community. Please try again and let me know if it now works.
Thanks
Noaman