Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: open and curl

by dave_the_m (Monsignor)
on Jun 10, 2015 at 17:07 UTC ( [id://1129895]=note: print w/replies, xml ) Need Help??


in reply to open and curl

Curl doesn't read the password from stdin, it opens /dev/tty and reads from that. So you'll probably need to use something like Expect.

Dave.

Replies are listed 'Best First'.
Re^2: open and curl
by Anonymous Monk on Jun 10, 2015 at 18:06 UTC
    I only need one way communication with curl. Anyway to complete that. With out any additional modules. Process to get additional modules is long take weeks or months.
      In that case I guess you'll have to implement a subset of the functionality found in IO::Pty. Or use the -n option to curl and store the password in .netrc. Or use HTTP::Tiny like someone suggested above.

      Dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found