Custom endpoint path ignored
See original GitHub issueimport Ember from 'ember';
import AjaxService from 'ember-ajax/services/ajax';
export default AjaxService.extend({
namespace: '/api/v1',
host: 'http://api.example.com'
});
import Ember from 'ember';
export default Ember.Route.extend({
ajax: Ember.inject.service(),
model() {
return this.get('ajax').request('/posts');
}
});
Results in: GET http://api.example.com/posts
without namespace.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
[@aws-sdk/client-sns]: custom endpoint.path is not taken into ...
This was previously reported and fixed in some parts of v2: Node API requests ignore the endpoint.path property aws-sdk-js#268; This might be a...
Read more >Ignore context-path for specific endpoint in Spring boot
I have setup the property server.servlet.context-path=/xyz in the application.properties file so all my endpoint have a prefix of /xyz.
Read more >Support custom trace ignore - Apache SkyWalking
The purpose of this plugin is to filter endpoint which are expected to be ignored by the tracing system. You can setup multiple...
Read more >Path resolution in Quarkus
This was the genesis of the non-application endpoint path. ... while JAX-RS effectively ignores leading slashes in @Path annotations.
Read more >Versioning and Endpoint Handling - Tyk.io
Extended paths allow you to control which upstream paths are to be handled in a specific way (ignored, as part of white list...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Namespace support only landed in
2.0.0-beta.2
. Please update to the latest beta and let us know if that takes care of it.@alexlafroscia my bad,
namespace
works in2.0.0-beta.2
. Haha thanks @taras 😉