Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Print Json text from query string

by rpnoble419 (Pilgrim)
on Sep 10, 2012 at 17:12 UTC ( #992809=note: print w/replies, xml ) Need Help??


in reply to Print Json text from query string

Why do you want to create a URL? it looks like you get JSON in from some ajax call, why not push JSON back? Otherwise you could just send the following:
print $url.'/'.$json->{'username'}.'/'.$json->{'password'}

Also why are you passing passwords in the open?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992809]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2016-12-05 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (88 votes). Check out past polls.