So we have created an api, we want to make sure it is called via https secure connection, how do we know from api it is serveing securely. For example if from another domain comes request to our api like this:
https://ourdomain.com/api.php?appId=dev4&apiKey=XXXX
From api.php
, how do we know we are accessed securly via https ?