Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: [OT] Syntax for: AJAX Prototype JSON response

by derby (Abbot)
on Feb 19, 2007 at 13:13 UTC ( #600836=note: print w/ replies, xml ) Need Help??


in reply to [OT] Syntax for: AJAX Prototype JSON response

I use a content type of "application/json" and I normally use the header methods provided by CGI or CGI::Application rather than hand coding. If you want the onFailure to trigger, you'll need to set the appropriate http status (4xx, 5xx).

-derby

update: and by 'normally', I mean by following rfc 4627.


Comment on Re: [OT] Syntax for: AJAX Prototype JSON response

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://600836]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-11-24 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (135 votes), past polls