Monday, 5 October 2020

CURL sampler

 curl -i \

-u userName:test \

-H "content-type:application/json" \

-X PUT -d '{"json":"test","tags":"json"}' \

http://192.168.20.23:15672/api/users/test \

--trace-ascii /dev/stdout > outputfile.php




curl -i \

-H "content-type:application/json" \

-H "Authorization: jwtToken" \

-X GET https://myURL \

--trace-ascii /dev/stdout >> assetManagementAPITest_10_5_20.txt 2>&1




curl https://www.google.com/search?q=[1985-1990] -w "%{time_connect},%{time_total},%{speed_download},%{http_code},%{size_download},%{url_effective}\n" -o /dev/null -s


No comments:

Post a Comment