← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #679134]: Can Sikuli run a curl command on the command line?

 

Question #679134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679134

    Status: Answered => Open

arminius is still having a problem:
input

    import os

    first_part = r'curl -X GET
"https://doc.tech.net/latest/characters/ME/assets/?datasource=server&page=1";
-H "accept: application/json" -H "authorization: Bearer vyJ4jkdciOiZ"'

    print(first_part)

    p = os.popen(first_part)
    print(p.read())

output at the command line
    'curl' is not recognized as an internal or external command, 
    operable program or batch file.
    'page' is not recognized as an internal or external command,
    operable program or batch file.

The sikuli output displays "first_part" correctly, but does not display
(p.read())

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.