This commit is contained in:
parent
fd341bd9df
commit
b0bd579357
2
test.sh
2
test.sh
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
curl_cmd='curl -w :%{http_code}'
|
||||
curl_cmd='curl -s -w :%{http_code}'
|
||||
#curl_cmd='curl -s -w "%{http_code}\t%{stdout}" -o /dev/null'
|
||||
url='server:8080'
|
||||
$curl_cmd -X POST $url/admin/post/test -F 'body=testpage' && echo ": Create success" || echo ': create fail'
|
||||
|
Loading…
Reference in New Issue
Block a user