https://stackabuse.com/get-http-post-body-in-express-js/
https://stackoverflow.com/questions/5710358/how-to-access-post-form-fields
http://localhost:3000/api/get?q={%22username%22:%22xgqfrms%22}
fetch(`http://localhost:3000/api/post`, {
body: JSON.stringify({key: "value"}),
cache: "no-cache",
headers: {
"Content-Type": "application/json",
},
method: "POST",
mode: "cors",
})
.then(res => {
console.log(`res =`, res)
return res.json()
})
// .then(res => res.json())
.then(json => console.log(`json =`, json))
.catch(err => console.error(`error =`, err));
https://stackoverflow.com/questions/32986074/content-security-policy-meta-tag-for-allowing-web-socket