Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

createHTTPClient and content-type header

I use AJAX calls to authenticate my users when they access the service via our desktop client, unfortunately in titanium I am having an issue with createHTTPClient, it always comes back empty.

The return content-type header is: application/json (I post to a url with .json format instead of html) with content plain text formatted as JSON output.

I am pretty sure the header/extension are the problem, any ideas on how to bypass this (without changing server side code)?

— asked March 22nd 2010 by JT Jankowiak
  • ajax
  • createhttpclient
  • mobile

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.