Let's say I hit an endpoint http://10.20.30.11/userData which gets redirected to https://10.20.50.12/userData, how would this secure the userData? Wouldn't the userData be exposed during the original request?
Reference: How to redirect all HTTP requests to HTTPS
This article asks how to redirect for 'security'.