curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: how do I press a button?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 10 Aug 2018 00:02:11 +0200 (CEST)

On Thu, 9 Aug 2018, David Colter wrote:

> Click on one of them to reveal more specific information about them on the
> right side. "Headers" is a good one, because it shows what the request
> looked like. This will contain most of what you need in order to mimic the
> request using curl.

Also: Firefox, Chrome and Safari all have a "copy as curl" feature built-in
into their web tools so once you find the exact HTTP request, you can ask the
tool to give you the command line for it!

Somewhat described in the curl book: https://ec.haxx.se/usingcurl-copyas.html

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-10