This is the Linux app named restful.js whose latest release can be downloaded as v0.9.6.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named restful.js with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
restful.js
DESCRIPTION
A pure JS client for interacting with server-side RESTful resources. Think Restangular without Angular. All examples written in this README use the ES6 specification. The dist folder contains two built versions which you can use to include either restful.js or a standalone version. Standalone version already embeds fetch. Restful.js needs an HTTP backend in order to perform queries. A custom endpoint acts like a member, and therefore you can use one and all to chain another endpoint with it. Once you have collections and members endpoints, fetch them to get entities. Restful.js exposes get() and getAll() methods for fetching endpoints. Since these methods are asynchronous, they return a native Promise for response. A response is made from the HTTP response fetched from the endpoint. It exposes statusCode(), headers(), and body() methods. For a GET request, the body method will return one or an array of entities. Therefore you can disable this hydration by calling body(false).
Features
- All examples written in this README use the ES6 specification
- Create a resource targeting your API
- Two http backend are currently available
- Use restful.js in a browser
- Use restful.js in Node.js
- Collections and Members endpoints
Programming Language
JavaScript
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/restful-js.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.