json
Edit this pageReturns JSON data from an action while also providing options for controlling revalidation of cache data on the route.
Also read action and revalidate.
Type Signature
The ResponseOptions
extens the types from the native ResponseInit
interface.