in reply to Curl usage with Perl's system command

Follow-up on some other remarks and clear up a misunderstanding. There is no such thing as a "curl API" to a webservice. This is a web/HTTP API and curl is just one of innumerable tools that can be used as an HTTP client to interact with that particular service's API.

HTTP is programming language agnostic. Perl, Python, Java, Ruby, C, is irrelevant. Shelling out from a program is harder than using packages like WWW::Mechanize. Though in this case since you're doing cut and paste programming, the curl advice you've been getting might be easier than starting over the "right" way.

  • Comment on Re: Curl usage with Perl's system command

Replies are listed 'Best First'.
Re^2: Curl usage with Perl's system command
by perlron (Pilgrim) on Oct 28, 2014 at 17:12 UTC
    what i meant as a curl option was a way to code only using perl. i prefer to use perl as the only programming language in my startup. if there is a beter way please let me know. right now i think LWP or the WWW::Curl option seem a good thing for a better approach.
    Do not wait to strike when the iron is hot! Make it hot by striking - WB Yeats