Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: XHR giving 405 Date: Thu, 31 Jul 2014 09:58:29 +0200 Organization: PointedEars Software (PES) Lines: 35 Message-ID: <4785283.8RWm67h8PR@PointedEars.de> References: <9sadnbL6a8-KS0TOnZ2dnUVZ_tKdnZ2d@westnet.com.au> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: solani.org 1406793511 23144 eJwFwYEBwDAEBMCVUI+MUx/2HyF3+EKD6YFwLPYeNWFWiJWdHkz2CJJ64RgWIb+h6dtX2Q8RFBFY (31 Jul 2014 07:58:31 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 31 Jul 2014 07:58:31 +0000 (UTC) User-Agent: KNode/4.12.4 X-User-ID: eJwFwQERADEIAzBLMFp45Gxw9S/hE0Z6TiGZoKjjGF+u3MEu2tzvYSwqTqOanbloWx1NJO+dKpVCsY/EDy/7FOI= Cancel-Lock: sha1:QcFU92+b/1AFOSVPGOko8r1vqS8= X-NNTP-Posting-Host: eJwFwQERADEIAzBL4ynlJodB8S/hk3AaO8EgYmNnCiZTucqSW/riztOXF13QO9191twLOcwfPlcSDw== Xref: csiph.com comp.lang.javascript:25602 Andrew Poulos wrote: > On 31/07/2014 3:34 PM, Andrew Poulos wrote: >> I'm using XHR to PUT data to a URL on IIS that looks like >> http://www.dummydomain.com/activities/state >> Alas the call returns >> >> HTTP Error 405.0 - Method Not Allowed >> The page you are looking for cannot be displayed because an invalid >> method (HTTP verb) is being used. >> >> Giving a full URL like >> http://www.dummydomain.com/activities/state/default.asp >> makes no difference. >> >> Using POST instead of PUT also makes no difference. >> >> Everything is on the one server. >> >> I'm unsure how to resolve this :-( > Additionally, if I create a page with a form I can readily submit it to > http://www.dummydomain.com/activities/state > or > http://www.dummydomain.com/activities/state/default.asp -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not Cc: me. / Bitte keine Kopien per E-Mail.