I've created an HTML page and I am retrieving it over HTTPS. Clicking a button on that page sends a Javascript Fetch API request to an HTTPS endpoint, a PHP script I also created.
My question is: if I'm sending the request over HTTPS, will the Fetch API response be automatically returned over HTTPS? Or do I need to do something server-side to ensure the response is returned securely?