github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

caelum / rest-client

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 18
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Um client rest para web. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

appengine warn 
guilherme silveira (author)
Thu Oct 22 12:41:16 -0700 2009
commit  7d64923308e0a49a9421853b5f23bcb9090192b8
tree    22ca4ce64ddb9e27702f459663baa3f555efd769
parent  3a3ca4548d5dd60ccea5ef2f224bf05f664ad3fb
rest-client /
name age
history
message
file .gitignore Loading commit data...
file MIT-LICENSE
file README
directory rest-client-gae/
directory rest-server-gae/
README
README
======


This project is a small example (and base for vraptor 3 - restful support) for hand-testing restful services.
We use the word "restful" in the meaning that a it provides resources working with hypercontent.

TEST IT LIVE!
=============

Access http://restful-client.appspot.com/ and try to post an order to:
a) entry point: http://restful-server.appspot.com/order
b) method: POST
c) name: content
d) content: any order content (it will not be validated)

PAY ATTENTION: you might need to run it twice when you first run it. google app engine has a slow startup time that 
might run a timeout prior to succeeding.

After posting the order, you will receive a 201 response with your order location.

You can then view (GET) this order to see its representation. By parsing the representation, one can discover
what you can do with your order:

- pay (request a payment POST)
- cancel (request an order DELETE)
- update (request an order UPDATE)
- view (request an order GET)

Anytime you can check your order status by getting it. After payment your status will change to PREPARING
and after one minute it will be DONE.
If you cancel your order, it will be CANCELED.


TEAM
====

So far Adriano Almeida and Guilherme Silveira are working on this project.
Lucas Cavalcanti also contributed with what will probably become vraptor's hypermedia based resources small library.




Copyright (c) 2009 Caelum, released under the MIT license

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server