Fwd: bash curl multiple requests same connection
Date: Thu, 12 Mar 2020 18:18:37 +0800
Creating a TCP connection takes some time
so i want send tow requests use the same connection
The second request needs to be submitted after processing the first
response。
---------- Forwarded message ---------
发件人: taylor park <changji.piao_at_gmail.com>
Date: 2020年3月12日周四 下午5:55
Subject: bash curl multiple requests same connection
To: <curl-users_at_cool.haxx.se>
I want use the same connection submitting two URL ,i can use the "--next"
option.
curl -X "GET" xxxx.com/1 --next -X "POST" -d @file xxxx.com/2
how can i submit the first URL and submit seconde URL use the same
connection after deal with some date ?
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-12