Permalink
Browse files

projeto configurado corretamente

  • Loading branch information...
euprogramador committed Jun 10, 2010
1 parent 4694397 commit ae212c14124d17720a8225e28e399836c61e235e
View
18 LICENSE
@@ -0,0 +1,18 @@
+/***
+ * Copyright (c) 2009 Caelum - www.caelum.com.br/opensource
+ * All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
View
@@ -0,0 +1,30 @@
+h1. Restfulie Javascript
+
+Restfulie javascript port is in its earlier stages. Wait a while for some extra information and docs.
+
+Meanwhile visit "Restfulie's website":http://restfulie.caelumobjects.com
+
+h1. How to install
+
+To use the restfulie you need to import the libraries listed in the
+\webContent\restfulie\lib.
+
+<script src="../../restfulie/lib/restfulie.js"></script>
+<script src="../../restfulie/lib/json2.js"></script>
+<script src="../../restfulie/lib/jquery-1.4.2.min.js"></script>
+<script src="../../restfulie/lib/jquery.xml2json.js"></script>
+
+h2. A simple get
+
+resource = Restfulie.at(url).accepts('application/json').get();
+
+h2. A simple post
+
+ x = {'price':11};
+ result = Restfulie.at(url).as("application/json").post(x);
+
+
+h1. License
+
+Restfulie is licensed under the Apache License, Version 2.0.
+
View
No changes.
Oops, something went wrong.

0 comments on commit ae212c1

Please sign in to comment.