Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #25602

Re: XHR giving 405

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: XHR giving 405
Date 2014-07-31 09:58 +0200
Organization PointedEars Software (PES)
Message-ID <4785283.8RWm67h8PR@PointedEars.de> (permalink)
References <9sadnbL6a8-KS0TOnZ2dnUVZ_tKdnZ2d@westnet.com.au> <lO6dnTTxquI3e0TOnZ2dnUVZ_qWdnZ2d@westnet.com.au>

Show all headers | View raw


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 :-(

<http://www.catb.org/~esr/faqs/smart-questions.html#idp54153392>

> 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

<http://www.catb.org/~esr/faqs/smart-questions.html#beprecise>

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-07-31 15:34 +1000
  Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-07-31 16:45 +1000
    Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-31 09:58 +0200
    Re: XHR giving 405 Scott Sauyet <scott.sauyet@gmail.com> - 2014-08-01 11:20 -0700
  Re: XHR giving 405 JJ <jj4public@vfemail.net> - 2014-07-31 14:20 +0700
    Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 00:08 +0200
      Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-08-03 15:10 +1000
        Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 09:43 +0200
          Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-08-03 19:16 +1000
            Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 19:16 +0200
              Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-08-04 07:29 +1000
      Re: XHR giving 405 John Harris <niam@jghnorth.org.uk.invalid> - 2014-08-03 16:46 +0100
        Re: XHR giving 405 Tim Streater <timstreater@greenbee.net> - 2014-08-03 16:51 +0100
        Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 18:39 +0200
          Re: XHR giving 405 John Harris <niam@jghnorth.org.uk.invalid> - 2014-08-04 15:08 +0100
            Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-04 19:12 +0200
              Re: XHR giving 405 John Harris <niam@jghnorth.org.uk.invalid> - 2014-08-06 14:25 +0100
                Re: XHR giving 405 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-08-06 20:20 +0100
                Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-07 21:13 +0200

csiph-web