UNIX/Linux Forums Post Of The Week 44, October, 2009


View Poll Results: Which post should win the UNIX/Linux Forums Post of the week 44, October, 2009 contest?
Awaiting nominees... 0 0%
Multiple Choice Poll. Voters: 0. This poll is closed

 
Thread Tools Search this Thread
The Lounge What is on Your Mind? UNIX/Linux Forums Post Of The Week 44, October, 2009
# 1  
Old 10-25-2009
UNIX/Linux Forums Post Of The Week 44, October, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest?

Choose from the posts listed throughout the forum(s), and vote for your favorite post now.

What is Topic Of The Week?

Post of the Week is a contest that select posts which we would like the community to commit to as a group and then comment/discuss on them during the course of the selected week. Any listed topic (thread) is eligible for the Topic of the week selection. However, you cannot nominate your own post nor encourage others to nominate your post.

What determines a Post Of The Week?

Post Of The Week is based on a simple nomination system. Throughout the selected forums, members with adequate permissions can nominate their favorite topic by clicking on the award nomination button below the post.

The posts with the most nominations during the course of the week are displayed in this thread using the poll feature. At the end of the week, the first three topics with the most nominations are the award winners of the contest.

The poster of the Post of the Week will receive a prize of 100,000 Bits (Donated by Neo).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 52, December, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies

2. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 51, December, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (7 Replies)
Discussion started by: Linux Bot
7 Replies

3. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 50, December, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (9 Replies)
Discussion started by: Linux Bot
9 Replies

4. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 49, November, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (1 Reply)
Discussion started by: Linux Bot
1 Replies

5. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 48, November, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies

6. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 47, November, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (4 Replies)
Discussion started by: Linux Bot
4 Replies

7. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 45, November, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (1 Reply)
Discussion started by: Linux Bot
1 Replies

8. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 43, October, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies

9. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 42, October, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies

10. What is on Your Mind?

UNIX/Linux Forums Post Of The Week 41, October, 2009

Which post should win this weeks UNIX/Linux post of the week nomination contest? Choose from the posts listed throughout the forum(s), and vote for your favorite post now. What is Topic Of The Week? Post of the Week is a contest that select posts which we would like the community to... (8 Replies)
Discussion started by: Linux Bot
8 Replies
Login or Register to Ask a Question
Jifty::Manual::TutorialRest(3pm)			User Contributed Perl Documentation			  Jifty::Manual::TutorialRest(3pm)

NAME
Jifty::Manual::TutorialRest - Web Services DESCRIPTION
This builds on Jifty::Manual::Tutorial, so make sure you have a running jifty that roughly resembles the step-by-step from there. SETUP
You must add this to your site_config.yml framework: Plugins: - REST: {} See Jifty::Plugin::REST. The commands assume that you have LWP installed with the GET alias. If not, you'll need to use the longhand lwp-request -m GET, or curl, or your browser. help Make sure it is working: $ GET http://localhost:8888/=/help Accessing resources: ... You should see some text describing the services, not html (that's longhand for 404.) Check the config and restart the server. GET
Just list the models. $ GET http://localhost:8888/=/model.yml --- - MyWeblog.Model.Post List the Post schema. $ GET http://localhost:8888/=/model/Post.yml --- body: label: Content name: body readable: 1 sort_order: 1 type: text writable: 1 id: mandatory: 1 name: id readable: 1 type: serial writable: 0 title: default: Untitled post label: Title name: title readable: 1 sort_order: 0 type: text writable: 1 You did make some posts, right? $ GET http://localhost:8888/=/model/Post/id.yml --- - 1 - 2 Dump the data: $ GET http://localhost:8888/=/model/Post/id/1.yml --- body: 'This is my post, the content of which is this, which is mine.' id: 1 title: my first post $ GET http://localhost:8888/=/model/Post/id/2.yml --- body: "Content of another post. Got to go, the cat's on fire." id: 2 title: post deux POST
TODO not working Actually, it looks like it is not supposed to work this way. Why not? $ echo '--- body: "A post via web services" id: 3 title: "posting from the command-line" ' | lwp-request -m POST http://localhost:8888/=/model/Post.yml POST http://localhost:8888/=/model/Post/id/3.yml --> 404 Not Found PUT
TODO not working $ echo '--- title: "posting from the cli" ' | lwp-request -m PUT http://localhost:8888/=/model/Post/3.yml 500 Can't read entity body: Connection reset by peer DELETE
$ lwp-request -m DELETE http://localhost:8888/=/model/Post/id/3.yml --- content: {} error: ~ field_errors: {} field_warnings: {} message: Deleted success: 1 perl v5.14.2 2010-09-25 Jifty::Manual::TutorialRest(3pm)