Page 1 of 1

check_http with GET method

Posted: Mon Jul 06, 2020 11:48 am
by bcoleman310
I need this curl command converted so that it can be used by check_http.
curl --request GET 'https://abc.com/api/getTransactionDetails' --header 'Content-Type: application/json' --data { "test-number": "12345" }

I keep getting 404 errors using this check_http
./check_http -f follow -S 1 -p 443 -I abc.com -u /api/getTransactionDetails -T application/json -j GET --post '%7B+%22test-number%22%3A+%2212345%22+%7D'

Is this even possible to do?

Thanks