comment-server/test/http_requests/create-comment.http

25 lines
806 B
Text
Raw Normal View History

2019-06-06 09:26:26 +02:00
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
POST https://comments.lbry.com/api
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": null,
"method": "create_comment",
"params": {
2019-06-11 16:54:08 +02:00
"comment": "POP SECRET",
2019-06-06 09:26:26 +02:00
"claim_id": "9cb713f01bf247a0e03170b5ed00d5161340c486",
"channel_name": "@dogeworld",
2019-06-11 16:54:08 +02:00
"channel_id": "9cb713f01bf247a0e03170b5ed00d5161340c486",
"signing_ts": "1234567"
2019-06-06 09:26:26 +02:00
}
}
###