- EmberJS Tutorial
- EmberJS - Home
- EmberJS - Overview
- EmberJS - Installation
- EmberJS - Core Concepts
- Creating and Running Application
- EmberJS - Object Model
- EmberJS - Router
- EmberJS - Templates
- EmberJS - Components
- EmberJS - Models
- EmberJS - Managing Dependencies
- EmberJS - Application Concerns
- EmberJS - Configuring Ember.js
- EmberJS - Ember Inspector
- EmberJS Useful Resources
- EmberJS - Quick Guide
- EmberJS - Useful Resources
- EmberJS - Discussion
EmberJS-Connecting to an Http Server
Connecting to an Http Server
The store uses an adapter to load data from an HTTP server. Ember.js defines the DS.RESTAdapter adapter which communicates with an HTTP server by transmitting JSON via XHR.
The following table lists down the properties of customizing rest adapter −
S.N. | Customized Rest Adapters & Description |
---|---|
1 |
Customize the REST adapter by exporting a subclass of DS.RESTAdapter. |
2 |
If your JSON API is stored other than host root, prefix the url to all requests. |
Advertisements
To Continue Learning Please Login
Login with Google