Last active
February 3, 2019 02:57
-
-
Save FagnerMartinsBrack/5cce211a3a21a83e1dc848c910b8cc78 to your computer and use it in GitHub Desktop.
(Medium) - Evolvable APIs
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
| 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