I checked the methods allowed:

curl -X OPTIONS 'http://localhost:9090' -i
HTTP/1.1 200 OK
Date: Fri, 13 Oct 2017 06:46:08 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: HEAD, POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type, 
Access-Control-Request-Method, Access-Control-Request-Headers, Authorization
Allow: GET, HEAD, TRACE, OPTIONS
Content-Length: 0


-Sudha Jenslin



> On 16-Oct-2017, at 12:14 PM, SUDHA JENSLIN <[email protected]> wrote:
> 
> 
> I am trying integrate apache eagle single sign on. While doing so the return 
> call(http://machinename:9090/ <http://machinename:9090/>) is sent back as 
> post call after authentication is done.
> 
> But the request fails with 405 error. When i checked for the allowed methods 
> on the url:
> i saw :
>  Allow: GET, HEAD, TRACE, OPTIONS.
> 
> 
>  How to enable it with post method as well for the url.? 
> 
> 
> Error message for your reference:
> <PastedGraphic-1.tiff>
> 
> Thanks,
> Sudha Jenslin
> 
> 
> 
>> On 15-Oct-2017, at 8:09 PM, Chen, Hao <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi Sudha,
>> 
>> 
>> What's the technical requirement? I think here POST is already supported.
>> 
>> 
>> Thanks,
>> 
>> Hao
>> 
>> ________________________________
>> From: SUDHA JENSLIN <[email protected] <mailto:[email protected]>>
>> Sent: Sunday, October 15, 2017 1:22 PM
>> To: [email protected] <mailto:[email protected]>
>> Subject: Re: POST Method for home page
>> 
>> Can some suggest on the below request...
>> 
>> 
>> Thanks,
>> Sudha jenslin
>> 
>> On Friday, October 13, 2017, SUDHA JENSLIN <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>>> Hi Team,
>>> 
>>> There is a requirement that needs to have the POST method enabled on the
>>> home page(http://localhost:9090/ <http://localhost:9090/>). How can i get 
>>> it done.
>>> 
>>> Currently i see the following methods being allowed.
>>> 
>>> HTTP/1.1 200 OK
>>> Date: Thu, 12 Oct 2017 20:50:37 GMT
>>> Access-Control-Allow-Origin: *
>>> Access-Control-Allow-Methods: HEAD, POST, GET, PUT, OPTIONS, DELETE
>>> Access-Control-Max-Age: 3600
>>> Access-Control-Allow-Headers: Origin, Accept, X-Requested-With,
>>> Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers,
>>> Authorization
>>> *Allow: GET, HEAD, TRACE, OPTIONS*
>>> Content-Length: 0
>>> 
>>> 
>>> Can someone Provide me input here on enabling POST as well for this.
>>> 
>>> Thanks,
>>> Sudha jenslin
>>> 
> 

Reply via email to