Skip to content

Instantly share code, notes, and snippets.

@FagnerMartinsBrack
Last active February 3, 2019 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FagnerMartinsBrack/5cce211a3a21a83e1dc848c910b8cc78 to your computer and use it in GitHub Desktop.
Save FagnerMartinsBrack/5cce211a3a21a83e1dc848c910b8cc78 to your computer and use it in GitHub Desktop.
(Medium) - Evolvable APIs
await fetch('http://clinic.example.com/booking', {
method: 'post',
body: JSON.stringify({
username: 'mary.doe',
dateTime: '2018-05-01T10:20:00Z'
intendedDoctor: 'jane',
booking: 'Consultation with Doctor Jane'
}),
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment