json-api-example
json-api-example copied to clipboard
An example API created with my JSON-API library (http://github.com/ethanresnick/json-api)
I would like to call some Mongoose `Model` [instance methods](https://mongoosejs.com/docs/guide.html#methods) after POST/PATCH request succeeds. Right now the only way I see to do this is to put in some kind...
Let’s get started with automated dependency management for json-api-example :muscle: This pull request **updates all your dependencies to their latest version**. Having them all up to date really is the...
The `Access-Control-Allow-Origin` header was already being set, but this adds `Access-Control-Allow-Methods` and `Access-Control-Allow-Headers` headers and prevents OPTIONS requests from 404ing.
I currently write an ember.js client for this API. browsers send an OPTIONS request before any access. Could you add those lines after line #45 in index.js ? ```js res.set('Access-Control-Allow-Origin',...
the api front end always return a "type" field, lost first letter in name `POST /formtype` with below JSON: ``` {"data":{"type":"formtype","attributes":{"name":"form1"}}} ``` The returned type become `ormtypes` as below: ```...