7 More Discussions You Might Find Interesting
1. What is on Your Mind?
Well, after causing Don Cragun to lose some replies when working on a few feature, I decided to create a simple autosave / recovery program that will autosave locally on key (key stroke) changes (and mouse clicks as well).
NOTE.
Works well in Chrome
Works OK in Safari, but is not reliable... (8 Replies)
Discussion started by: Neo
8 Replies
2. How to Post in the The UNIX and Linux Forums
I have a trouble here. I posted couple of questions and got some reply but when i go ahead and do a reply/quick reply to the question asked it doesn't goes.
it simply keep on displaying the message "Posting quick reply please wait" and that wait never ends.
I am not able to do a reply :(... (3 Replies)
Discussion started by: Sharma331
3 Replies
3. Forum Support Area for Unregistered Users & Account Problems
I am unable to post reply to a thread. Whenever I will reply to any post I get the message every time :
The message you have entered is too short. Please lengthen your message to at least 5 characters.
Even though length of the message is more than required.
for example I tried to post
... (3 Replies)
Discussion started by: Unregistered
3 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Dear Moderator
I am not able to post any new thread or post reply to mine old thread.
Kindly help as i am stuck on one problem and needed suggestion.
Regards
Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
Hi, Admin, I have met a problem that I cannot post new thread and reply after register.
It reminds some information as shown in the below:
case 1:
To create new threads in this forum your post count must be 10 or greater.
You currently have 0 posts.
case 2:
To reply to threads in this forum... (1 Reply)
Discussion started by: Unregistered
1 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi Admin
I got the error message as follows when I reply or create new thread.
To reply to threads in this forum your post count must be 10 or greater.
You currently have 9 posts.
Is there any problems with my account?
How I can reach the 10 replies? I cann't post any replies now.
... (1 Reply)
Discussion started by: ambious
1 Replies
7. Shell Programming and Scripting
i have a html file with uploads a file and sends the username to a .cgi file using post method.
the part of code in the cgi file is as below. i am able to get the filename but not able to get the username thats getting posted to the file how to know the value of username. i am trying to store... (2 Replies)
Discussion started by: sasidhdv
2 Replies
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)