Closed TheOneTheOnlyDavidBrown closed 9 years ago
include an XHR library and update the functions to call the appropriate endpoint for each method
ie modelName.fetch(:id) hits api/v1/modelName/:id with the GET method and so on
modelName.fetch(:id)
api/v1/modelName/:id
have fetch as a dependency for the router (in progress). will use it for this
include an XHR library and update the functions to call the appropriate endpoint for each method
ie
modelName.fetch(:id)
hitsapi/v1/modelName/:id
with the GET method and so on