melonpan
melonpan copied to clipboard
⚡️A minimalistic and sweet router for blazing fast bun
 Fix: to add a new property `private headers: Headers;` in `Melonpan`, which contains all set headers, in order to pass them as a param...
How can I parse the JSON from a POST request ? The code below isn't working ``` melonpan.post("/user" , (req, ctx) => { let user_request = req.json().then((data) => { console.log(data);...
 This error occurs because the `Access-Control-Allow-Origin: *` header is not present in the `new Response()` object. In the dev environment we need the headers...
- Decouple external interfaces - More information as discussed on #13