update examples

This commit is contained in:
Mao Wang
2020-10-28 09:31:37 +08:00
committed by GitHub
parent 5a3a4cca9d
commit 0982719743
+2 -1
View File
@@ -5,7 +5,8 @@ use Curl\Curl;
// curl \
// -X POST \
// -d "{"id":"1","content":"Hello world!","date":"2015-06-30 19:42:21"}" \
// -H 'Content-Type:application/json' \
// -d '{"id":"1","content":"Hello world!","date":"2015-06-30 19:42:21"}' \
// "https://httpbin.org/post"
$data = json_encode(array(