melonpan icon indicating copy to clipboard operation
melonpan copied to clipboard

⚡️A minimalistic and sweet router for blazing fast bun

Results 4 melonpan issues
Sort by recently updated
recently updated
newest added

![Captura de pantalla de 2022-10-17 20-50-11](https://user-images.githubusercontent.com/115972610/196306388-e38d73c0-a7e2-4725-b67f-499e5db770b8.png) 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);...

![Captura de pantalla de 2022-10-17 20-50-11](https://user-images.githubusercontent.com/115972610/196304231-a530bc6b-2538-481c-a223-4076bddfac43.png) 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

enhancement
help wanted
good first issue