API Development with Swagger
Table of Contents
2. JSON
fetch = require('node-fetch')
fetch('https://api.github.com/repos/zweifisch/ob-coffee/languages')
.then(res => res.json())
3. Database
select id, username from users;
4. Login and Users
POST http://localhost:8080/login
Accept: application/json
Content-Type: application/json
{
"username": "test@jwalsh.net",
"password": "password"
}
5. Core Tasks
7. Mocking
11. Related
- Design-Driven APIs – design first, then the spec
- Incremental Rails to SPA Migration with Mock APIs – mocking from the spec
- SPA Setup with Rails: JSON API and Angular – the Rails and Angular stack it served
- JSON Schema for Polyglot Engineers – the schemas inside it