Discussion:
Question
(too old to reply)
Richard Snodgrass
2018-02-18 05:52:33 UTC
Permalink
Can we curl a simple http get response to a written file output?

New to this
--
The power to think true is the savior of humanity. The mythological and
historical Redeemers of every age were all personifications of that power.
He who has a little more rationality than his neighbor is a little better
than his neighbor. He who functions on a higher plane of rationality than
the rest of the world is termed the greatest thinker. He who functions on a
lower plane is regarded as a barbarian. Thus comparative rational
development is the true gauge of the individual’s evolutionary status.

Briefly stated, the true purpose of ancient philosophy was to discover a
method whereby development of the rational nature could be accelerated
instead of awaiting the slower processes of Nature.

- Manly P. Hall
Aleksandar Lazic
2018-02-18 10:40:47 UTC
Permalink
Hi.
Post by Richard Snodgrass
Can we curl a simple http get response to a written file output?
New to this
Yes.

curl -o filename-where-the-response-should-be-saved URL

https://curl.haxx.se/docs/httpscripting.html#See_the_Response

https://curl.haxx.se/docs/manpage.html#-o

Best regards
Aleks
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etique

Loading...