Skip to content

Commit

Permalink
quicktest: switch to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
karlicoss committed Oct 1, 2024
1 parent 96a194e commit d69bec7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion quicktest
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
#!/bin/bash
http post "$1" title=123 url=test selection=null comment=null tag_str=null
curl -X POST "$1" \
-H "Content-Type: application/json" \
-d '{
"title": "123",
"url": "test",
"selection": null,
"comment": null,
"tag_str": null
}'

0 comments on commit d69bec7

Please sign in to comment.