Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14548] MobileWeb:A call to web service return success on android and iPhone but return Method not allowed error on Mobile web

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2013-07-15T17:28:58.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsMobileWeb
LabelssupportTeam
ReporterRupesh Sharma
AssigneeChris Barber
Created2013-07-15T06:33:34.000+0000
Updated2014-06-19T12:43:06.000+0000

Description

Description

Application having 1 button only that calls the login webs service and use the same library, the response of the web service returns succes on android and ios versions but in mobileweb version is showing error Method not allowed with message as "The requested resource does not support http method 'OPTIONS'".

Test code

Please got to the link below to download the sample code to reproduce the issue. http://www.mediafire.com/?1yl81brfprldort

Comments

  1. Chris Barber 2013-07-15

    This is a limitation of web browsers. You MUST use a proxy or enable CORS on the web service server. If you use a proxy, you MUST define the Ti.Network.httpURLFormatter.

JSON Source