<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">The request can also include<div><span style="font-weight: bold; color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: small; line-height: 16.545454025268555px; background-color: rgb(255, 255, 255);">Accept</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: small; line-height: 16.545454025268555px; background-color: rgb(255, 255, 255);">:&nbsp;</span><span style="font-weight: bold; color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: small; line-height: 16.545454025268555px; background-color: rgb(255, 255, 255);">application</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: small; line-height: 16.545454025268555px; background-color: rgb(255, 255, 255);">/</span><span style="font-weight: bold; color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: small; line-height: 16.545454025268555px; background-color: rgb(255, 255, 255);">json</span><br><div><br></div><div>That may instruct the server to respond with JSON instead of its default of HTML. &nbsp;Depends on the remote server/service.</div><div><br><div><div>On Aug 7, 2014, at 8:06 AM, A577127 &lt;<a href="mailto:antoine.matyja@worldline.com">antoine.matyja@worldline.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">In your POST request, you must set the "Content-Type" header to<br>"application/json".<br><br><br><br>--<br>View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-text-html-Requests-instead-of-application-json-tp8779p8781.html">http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-text-html-Requests-instead-of-application-json-tp8779p8781.html</a><br>Sent from the aerogear-dev mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev<br></blockquote></div><br></div></div></body></html>