Sapna1
1
Hello,
I work on api using serverless function, i face problem with redirect page after call this api.
I want to redirect back url.
Hey @Sapna1
You’ve got a few options here:
- handle the redirect based on the request response on the front-end
- i.e. ….then(resp => winow.location = `XXXX`)
- return a location header from you serverless function
- the exact syntax escapes me at the moment