Skip to content
New issue

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

No support for trailing slashes #58

Open
dotcom84 opened this issue Dec 27, 2014 · 4 comments
Open

No support for trailing slashes #58

dotcom84 opened this issue Dec 27, 2014 · 4 comments
Labels

Comments

@dotcom84
Copy link

Unluckily the options property that ngResource has (see stripTrailingSlashes in https://docs.angularjs.org/api/ngResource/service/$resource) is not supported with cachedResource.

What's more: it seems to ignore the resourceProvider default settings such as:

app.config(['$resourceProvider', function($resourceProvider) { $resourceProvider.defaults.stripTrailingSlashes = false }])

@hazeledmands
Copy link
Contributor

Oh no! Thanks for the report, added to the roadmap.

@chogarcia
Copy link

+1! any update?

@5amfung
Copy link

5amfung commented Dec 7, 2015

Is this a show stopper because all my REST APIs end with a slash?

@agarwalkartik
Copy link

You can configure ngResourceProvider to not strip trailing slashes. It works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants