manniru
6/10/2018 - 2:36 PM

Fetch Post Working

fetch('http://localhost:3001/customers', { method: 'POST', body: 'a=1' })
	.then(res => res.json())
	.then(json => console.log(json));