I’m trying to create a web service that runs on https (i.e ssl). I
have install the ssl_requirement plugin and in my webservice
controller I have the lines
In development I had this commented out, as I wasn’t running https
locally. When I called MethodName it worked fine (in development).
But in production with ssl when I call the method.
It returns a 302
When I check the production logs I see the following:
Redirected to http://…myurl…
Filter chain halted as
@filter=:ensure_proper_protocol>] returned false.
Completed in 0.00029 (3506 reqs/sec) | DB: 0.00000 (0%) | 302 Found
Am I doing somethign horribly wrong? Any suggestions?
Just in case it helps I am also using ssl_required in some other
controllers and it’s working as I’d expect there.
Thanks (in advance) for any help