API Security interview question

How do you convert a HTTP Rest endpoint to a HTTPS endpoint?