js-data-http
js-data-http copied to clipboard
Http adapter for js-data. Main Site: http://js-data.io, API Reference Docs: http://api.js-data.io
I can't seem to get this example ```js const postProps = { title: 'Relations', comments: [ { content: 'Awesome!' }, { content: 'So cool!' } ] }; store.create('post', postProps, {...
http://www.js-data.io/v3.0/docs/js-data-http The code does not compile on TS version 3.1.6: ```ts import { DataStore } from 'js-data'; import { HttpAdapter, addAction } from 'js-data-http'; const store = new DataStore(); const...
This code example on js-data-http guid simply does not work for me: ```javascript import { Container } from 'js-data'; import { HttpAdapter } from 'js-data-http-node'; const httpAdapter = new HttpAdapter({...
I'm using Node 8.5's new es module import to run a SPA application in SSR mode in Node. In this case it's very useful to have the sourcecode for Node...
Hi, Wondering how to manage multiple httpConfig for different ressource (eg: setting different domain url for different ressource ), I ended up working with two adapters, which I believe was...
I noticed axios belongs here to devDependencies but IMO it's a prod dependency.
I want to set timeout for all requests, so I use httpConfig ``` const httpAdapter = new HttpAdapter({ httpConfig: { timeout: 3000 } }) ``` But this doesn't work, maybe...
How can I handle no internet connection error for all actions (getAll, get, etc.)
I'm trying to use js-data-http with universal rendering but I got an error about window's existence ``` FAILED: window is not defined ReferenceError: window is not defined at Object. (xxxxx/node_modules/js-data-http/dist/webpack:/~/axios/lib/adapters/xhr.js:16:1)...