# POST from http to https

**URL:** <https://www.ruby-forum.com/t/post-from-http-to-https/167712>\
**Category:** Rails\
**Created:** [May 11, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/post-from-http-to-https/167712 "2009-05-11T21:06:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [May 11, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/post-from-http-to-https/167712/1 "2009-05-11T21:06:19Z")

</div>

Dear list,

I want to POST data from a normal http page to a https controller. I  
set up SSL and what not and that works. When I go to  
[https://projectname.local](https://projectname.local)  
the site loads nicely. When I go to [http://projectname.local](http://projectname.local) the site  
loads nicely as well.

On that page however I have a form which I want POSTing to a httpS  
controller, I got so far as to create the form:

Now the strangest thing happens (or doesn’t). If I click the submit  
button _nothing_ happens. Nothing in Firebug, nothing in my apache  
log, nothing in my development log, nothing in Safari. Nothing.

When I load the page in pure https things work. One odd thing is that  
the ‘request.ssl?’ returns false even when I see the request going  
thru https. But this might be unrelated.

It IS possible to POST to https from a http connection right?

Any help would be greatly appreciated.

Harm

---

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [May 11, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/post-from-http-to-https/167712/2 "2009-05-11T21:30:55Z")

</div>

Is there any errors being thrown in your log?

---

<div class="post-metadata">

**Author:** ![harm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@harm](https://www.ruby-forum.com/u/harm)\
**Post date:** [May 11, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/post-from-http-to-https/167712/3 "2009-05-11T23:42:24Z")

</div>

None, the request doesn’t even register.

On May 11, 9:30 pm, Shandy N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
