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.