Solved

"Method not allowed (405)" error on calling REST webservice from jQuery ajax.

Posted on 2014-07-20
4
3,264 Views
Last Modified: 2014-08-05
Hi,
When calling  a REST webservice  through ajax using jQuery the following error is getting
"Failed to load resource: the server responded with a status of 405 (Method Not Allowed)"
REST webservice and the calling page is under different domain.

Thanks
0
Comment
Question by:gopalv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
duncanb7 earned 334 total points
ID: 40208323
Could you post the jquery code and the full path of the site ?

Duncan
0
 
LVL 13

Assisted Solution

by:duncanb7
duncanb7 earned 334 total points
ID: 40208324
And what system are you using to run the code ?

you send the Request to the server is running IIS  ?

Duncan
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 166 total points
ID: 40208326
Every REST webservice has it's own methods that have to be followed.  And every method must be supported by a program on that server.
0
 

Author Closing Comment

by:gopalv
ID: 40240883
This question is no longer relevant to us. I have awarded equal points to anyone who tried participate. Appreciate your time & effort.
0

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question