nicetomytyukN
Denoβ€’2y agoβ€’
5 replies
nicetomytyuk

How to resolve: http2 error: stream error detected: unspecific protocol error detected?

When I try to make a POST request using fetch in DENO I get the error mentioned in the title.

The code:

async activate(company: Company): Promise<void> { await fetch('http://xxx.it/db/activate', { body: JSON.stringify(company), method: 'POST', }); }
Was this page helpful?