Skip to content

Commit f6626dd

Browse files
committed
quicktest: switch to curl
1 parent 96a194e commit f6626dd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

quicktest

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
#!/bin/bash
2-
http post "$1" title=123 url=test selection=null comment=null tag_str=null
2+
curl -X POST "$1" \
3+
-H "Content-Type: application/json" \
4+
-d '{
5+
"title": "123",
6+
"url": "test",
7+
"selection": null,
8+
"comment": null,
9+
"tag_str": null
10+
}'

0 commit comments

Comments
 (0)