Skip to content

Instantly share code, notes, and snippets.

View JaeHyeonKim19's full-sized avatar
👨‍💻

JaeHyeonKim JaeHyeonKim19

👨‍💻
View GitHub Profile
@deanhume
deanhume / fetch-api-post.js
Created August 19, 2015 10:48
A simple POST request using the fetch API
fetch(url, {
method: 'POST',
headers: {
'auth': '1234'
},
body: JSON.stringify({
name: 'dean',
login: 'dean',
})
})