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

Re: Perl REST API Post script

by hippo (Bishop)
on Feb 10, 2020 at 23:11 UTC ( [id://11112749]=note: print w/replies, xml ) Need Help??


in reply to PERL REST API Post script

The IP works but the rest does not get parsed into the req for the content.
$req->content('{"data":{"Address": "$Address","User": "$user","Passwor +d": "$passcode","Domain":"","LockCode":""}}');

Single quotes don't interpolate. See Quote and Quote-like Operators in perlop for more info.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found