Download EPUB

(Medium) - Evolvable APIs

Gist 1 min read Original article

This article is too short to generate a summary.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

const response = await fetch('http://clinic.example.com/booking?intendedDoctor=jane', {
method: 'get'
});
const availableTimeSlotsForTheWeek = await response.json();
await fetch('http://clinic.example.com/booking', {
method: 'post',
body: JSON.stringify({
username: 'mary.doe',
intendedDoctor: 'jane',
time: chooseValidTimeFor('2018-05-01T10:20:00Z', availableTimeSlotsForTheWeek)
booking: 'Consultation with Doctor Jane'
}),
});

Keep this one

Free to use, with no card: save new links within daily limits and read everything you save.

Every new account gets the paid plan for its first 14 days.