Comments (2)
Unfortunately this problem persists!
I still struggle with this problem I'm using Restler to access an REST API (as you already may guess, and there is one interaction that must be executed through POST, like this:
restler.post('http://localhost:8080/path/to/service', {data: 'something'}).on('complete', function(data, response) {
if (response.statusCode < 400)
console.log('success');
});
This should return a 302
for redirecting (through GET) to another URL that would return a JSON, instead redirects through POST and then I receive 405 Method Not Allowed
. I know that this error ist returned because REST Service does not handle this method to the given URL.
from restler.
+1
from restler.
Related Issues (20)
- Is this library unmaintained? HOT 2
- [SyntaxError: Failed to parse JSON body: Unexpected token <]
- TypeError: Cannot read property 'message' of undefined
- When posting multipart form data, receiving deprecation warnings below HOT 1
- Fatal error: Second argument needs to be a buffer HOT 4
- no such file or directory, open test.txt
- SOAP Client HOT 1
- Security vulnerability for 'qs' dependency. HOT 2
- Failed Sending HTTP SOAP request HOT 1
- Custom xml2js options not provided to parser when directly calling the request() method HOT 1
- Send a file from memory? HOT 2
- 希望可以修复下这个致命错误 Fatal error: Second argument needs to be a buffer HOT 2
- XML parsing Dependency migration
- Doesn't work on Node.js@4. Need to update version of dependency node-xml2js and fix it's usage.
- Ability to set the charset in postJson (or default to utf-8)
- gzip compression lost on gets
- Update qs version
- Who to contact for security issues
- what does this code do, how can i generate numbers is serial using this?
- Browser support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restler.