I have enabled ssl in my nginx configuration and also enabled https for frontend in magento. When I am trying to hit a custom module controller action from my android device, It's automatically redirected to 302. I am hitting this url "http://www.exampleur.com/data/response" with post datas in body from andorid device. But I am getting this response in access log
146.50.59.80 - - [01/Jan/2017:01:20:27 -0500] "POST /data/response/ HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
Post datas are going as empty to the secure url. I don't like to hit the secure url directly. Is there any way to pass the post datas to secure url when there is 302 redirect.