# Posting remote forms / Getting content off the web

**URL:** <https://www.ruby-forum.com/t/posting-remote-forms-getting-content-off-the-web/100303>\
**Category:** Ruby\
**Created:** [July 28, 2006, 9:48am UTC](https://www.ruby-forum.com/t/posting-remote-forms-getting-content-off-the-web/100303 "2006-07-28T09:48:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ap0s7le](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/71e660/32.png) [@ap0s7le](https://www.ruby-forum.com/u/ap0s7le)\
**Post date:** [July 28, 2006, 9:48am UTC](https://www.ruby-forum.com/t/posting-remote-forms-getting-content-off-the-web/100303/1 "2006-07-28T09:48:44Z")

</div>

Hello,

I learned of Rails, and then Ruby and thought I’d much rather work with  
the language itself first and not the framework.

So here I am in need of expanding a cron I have that currently updates a  
few of my sites. The cron is a simple BASH script that will call the  
ruby script in from a FOR loop. What I’m looking for right now is a way  
to connect to the remote sites via Ruby, submit my changes to them via  
POST etc.

It will require the script to log in first.

If you could point me to the right area of the docs I would be very  
greatful.

Hopefully one day I’ll be able to help others as they come to the forum.

Thank you for your time.

-Casey

---

<div class="post-metadata">

**Author:** ![ap0s7le](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/71e660/32.png) [@ap0s7le](https://www.ruby-forum.com/u/ap0s7le)\
**Post date:** [July 28, 2006, 10:32am UTC](https://www.ruby-forum.com/t/posting-remote-forms-getting-content-off-the-web/100303/2 "2006-07-28T10:32:04Z")

</div>

Hey!

Welcome to ruby! The Net/HTTP library is probably what you’re looking  
for:

[http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html](http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html)

Also, you’ve no doubt seen it already, but just in case:

[http://www.rubycentral.com/book/](http://www.rubycentral.com/book/)

cheers  
Michael
