cole
cole
CDCloudflare Developers
Created by cole on 1/11/2024 in #workers-help
R2 Access Via Domain is Down?
No description
32 replies
CDCloudflare Developers
Created by cole on 12/28/2023 in #workers-help
form data with itty-router-openapi
I have a form submission going through a worker built with itty-router-openapi. If I submit the data via a POST request with standard application/json, everything works swimmingly. Use data.body just like the examples, etc. However, if I submit the data as a application/x-www-form-urlencoded, then I get nothing. Moreover, if I try to read FormData() off of the request, then I get "body has already been read." Presumably the body is read during the body sanitization / verification / schema-matching done by itty-router. Any recommendations for which direction to go here? Is there a way to access FormData through itty-router-openapi? https://github.com/cloudflare/itty-router-openapi
2 replies