04-10-2008
10 More Discussions You Might Find Interesting
1. What is on Your Mind?
You will like this :)
fi4fzvQ6I-o (2 Replies)
Discussion started by: Neo
2 Replies
2. What is on Your Mind?
See How to use YouTube tags for instructions on how to post a video from YouTube.
While My Guitar Gently Weeps
by George Harrison and Friends
0ITrQXES8kU (16 Replies)
Discussion started by: Perderabo
16 Replies
3. What is on Your Mind?
This thread is a continuation of Post a Cool Music Video (Part I). See How to use YouTube tags for instructions on how to post a video from YouTube. And I will start things off with....
Operator by Jim Croce
A2iS8XctJKo (9 Replies)
Discussion started by: Perderabo
9 Replies
4. What is on Your Mind?
Grand Central Big Freeze
jwMj3PJDxuo
It looks as tho it's movie scene from M. Night Shyamalan :b: (0 Replies)
Discussion started by: sparcguy
0 Replies
5. What is on Your Mind?
This thread is a continuation of Post a Cool Music Video (Part I). See How to use YouTube tags for instructions on how to post a video from YouTube. And I will start things off with....
Beyond The Invisible by Enigma
hx2jrunyGjE (16 Replies)
Discussion started by: Perderabo
16 Replies
6. What is on Your Mind?
This thread is a continuation of Post a Cool Music Video (Part I). See How to use YouTube tags for instructions on how to post a video from YouTube. And I will start things off with....
Octavarium by Dream Theater
xK3qylwd-M0 (9 Replies)
Discussion started by: Perderabo
9 Replies
7. What is on Your Mind?
We post videos by linking them in from youtube. Videos from other sites are not absolutely forbidden, but we know that youtube won't tolerate videos that we won't tolerate. We have instructions on how to post youtube videos: How to use youtube tags. Please follow the format in those instructions to... (11 Replies)
Discussion started by: zxmaus
11 Replies
8. UNIX for Dummies Questions & Answers
i'm flex developer and i'm not familiar with this world. i need to make out of mp3, bitmaps , flv, text a music clip. can i do it with shell? can i use some video editing program on the server ?
thanks in advance. (0 Replies)
Discussion started by: sigalmaria
0 Replies
9. What is on Your Mind?
A few years ago we had a series of threads where we posted music videos. Let's try another one and see what happens. :)
We post videos by linking them in from youtube. Videos from other sites are not absolutely forbidden, but we know that youtube won't tolerate videos that we won't... (18 Replies)
Discussion started by: Perderabo
18 Replies
10. What is on Your Mind?
We've all heard this, right?
9bZkp7q19f0
Post some cool music...!
You may want to review the earlier threads:Part I
Part II
Part III
Part IV
Part V
Part VI
Part VII (3 Replies)
Discussion started by: Scott
3 Replies
LEARN ABOUT DEBIAN
jifty::manual::tutorialrest
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)