C=create=post=insert
R=read=get=select
U=update=put=update
D=delete=delete=delete

POST & GET are part of the http standard. Check out the fielding
dissertation they're two of I think 9 methods
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm

When you submit a form without an opaque query string you are POSTing. When
you grab the variables from a query string you are getting your GET on.

I just got the Agile WDwR beta copy. Interesting stuff. I would check out
different API's like Twitter, Gowalla, etc and see how they expose their
data/we seb service.

RESTful in peace,
angel

On Sun, Aug 1, 2010 at 10:01 PM, Musdev Musdev <[email protected]> wrote:

> HEY Guys,
>
> Im new to rails. Can someone help explain POST and GET inrails, and
> maybe give an example? When is it used? Im learning rails via Agile web
> Development with Rails, and soon to download peepcode video's, are these
> good resources to learn from?
>
> Regards
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to