Location.To ? 301/302 redirects?

Does Location.To provide a 301/302 redirect?
I want to create simple 302 redirects on certain pages. Is Location.To going to suit this? If not, how do I fix this?

You can use the redirect function of the Wix Router API .