You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POST requests sent using Fetch::Request are never sent, and no error is emitted
Steps To Reproduce
Use this example code:
let request = Request::new_with_init(&webhook_url,RequestInit::new().with_body(Some(serde_wasm_bindgen::to_value(&json!({"text":"hi"}),)?)).with_method(Method::Post),)?;Fetch::Request(request).send().await?;
Observe how the request is never sent, and code execution continues after the request is "sent" and awaited
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
What version of
workers-rs
are you using?0.3.0
What version of
wrangler
are you using?3.63.1
Describe the bug
POST requests sent using
Fetch::Request
are never sent, and no error is emittedSteps To Reproduce
The text was updated successfully, but these errors were encountered: