We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to DELETE angular resource, and get following error in Chrome Console.
DELETE
XMLHttpRequest cannot load http://localhost:8080/concepts/12. Method DELETE is not allowed by Access-Control-Allow-Methods.
If i add Allow-Methodes header in request.js everything works fine.
request.js
exports.headers = function(req, res, next) { res.set('X-Powered-By', 'Drakov API Server'); res.set('Access-Control-Allow-Methods','DELETE'); // fix Allow-Methods error next(); };
It would be nice, if you can dynamically add Header for all available methods
The text was updated successfully, but these errors were encountered:
definitely a quick win, will get that in for the next milestone release 👍
Sorry, something went wrong.
Have added this into #29
Just waiting for the build to go green, then I will merge it into master.
You can expect this to be available via npm on Saturday 👍
Awesome support, thx!!!
No branches or pull requests
I try to
DELETE
angular resource, and get following error in Chrome Console.If i add Allow-Methodes header in
request.js
everything works fine.It would be nice, if you can dynamically add Header for all available methods
The text was updated successfully, but these errors were encountered: