Created by tobi on 4/23/2024 in #❓・help
How to cancel a server fetch call to a remote endpoint?
Hey guys, I need a way to cancel a request made from nitro to multiple external dotnet core apis - and I didn't find a way to "forward" the cancellation from the the nuxt frontend to the nuxt/nitro backend. Can anyone help me? Is this even possible? Background: The endpoints do some complex longer running tasks and it would be awesome if the get cancelled (as they normally would if the calling end closes/ends the connection)
2 replies