Added content-type header to apWs

application/json for now as it's the only output supported for now (XML and other will come soon)