curl One of these great utilities that is seemingly lasting forever and its use of non -use. These days I find myself Using curl Batch Download Files And test apis. Sometimes my testing leads me to use different HTTP headers in my requests.

A to add a header to A curl Apply, use -H Flag:

curl -X 'GET' \
 'https://nft.api.cx.metamask.io/collections?chainId=1' \
 -H 'accept: application/json' \
 -H 'Version: 1'

You can add more than one header with multiple -H Use header is usually shaped [key]: [value].



Source link
Categories: Weight Loss

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *