redirect
Response function to handle redirects
Last updated
Response function to handle redirects
Last updated
The redirect
method is a curried function so you don't need to send the parameters all at once
You must supply both arguments at some point within your handler or the function will throw an error on request
would use the response functions within your method handlers you can read about the methods here
Name
Type
Description
url
String
The url to redirect to
data
Any
The data to pass along to the recieving url