Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fb iframe application: 405 error [closed]

my application works fine without iframe, returns 405 error at facebook! why is it so?

like image 632
ehmad11 Avatar asked Jan 24 '11 18:01

ehmad11


People also ask

Why am I getting a 405 error?

The 405 Method Not Allowed error occurs when the web server is configured in a way that does not allow you to perform a specific action for a particular URL. It's an HTTP response status code that indicates that the request method is known by the server but is not supported by the target resource.

What is a 405 code?

The 405 Method Not Allowed is an HTTP response status code indicating that the server received and recognized the specified request HTTP method, but the server rejected that particular method for the requested resource.

When should I use HTTP 405?

The 405 HTTP Status Code means that the method is not allowed. In the 405 HTTP Status Code, the Request-Line isn't considered the resource distinguished by the Request-URI. The response should incorporate an Allow header containing a rundown of substantial strategies for the mentioned asset.


1 Answers

For reference I had this same 405 error. This was because my Facebook app was pointing to a .html file for testing.

I renamed to .aspx and my server stopped sending that error back to Facebook

like image 56
Vaynag Avatar answered Nov 15 '22 04:11

Vaynag