Delete requests cause 400 without reaching worker
When using a DELETE request, I am getting 400 responses and the worker is not handling the request. GET, POST, and PUT all work fine. I am using itty-router https://github.com/kwhitley/itty-router.
I am also using wrangler 2.8.1 and running it with hosted dev mode.
Example response:
I could not find anything online about issues with either workers or itty router with DELETE requests.
2 Replies
How are you doing the delete request?
using vs code rest client extension
@walshydev just in case you didn't get a notif 😄