json_api 0.6.0 copy "json_api: ^0.6.0" to clipboard
json_api: ^0.6.0 copied to clipboard

outdated

JSON:API v1.0 (http://jsonapi.org) Document, Client, and Server

example/README.md

JSON:API examples #

Cars Server #

This is a simple JSON:API server which is used in the tests. It provides an API to a collection to car companies and models. You can run it locally to play around.

  • In you console run dart example/cars_server.dart, this will start the server at port 8080.
  • Open http://localhost:8080/companies in the browser.

Fetch example #

With the server running, call

dart example/fetch_collection.dart

This will make a fetchCollection() call and print the response.

34
likes
0
pub points
81%
popularity

Publisher

verified publisherkarapetov.com

JSON:API v1.0 (http://jsonapi.org) Document, Client, and Server

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, http, json_api_document

More

Packages that depend on json_api