Request Redirection and the REST API