API Send error to non https connections

API users are required to use SSL encryption to secure the data.