Mastering API Development: A Step-by-Step Guide
Table of Contents
Getting Started
JSON
fetch = require('node-fetch') fetch('https://api.github.com/repos/zweifisch/ob-coffee/languages') .then(res => res.json())
Database
select id, username from users;
Login and Users
POST http://localhost:8080/login Accept: application/json Content-Type: application/json { "username": "test@jwalsh.net", "password": "password" }