updated http requests
This commit is contained in:
parent
96220c2501
commit
1b144e1248
4 changed files with 48 additions and 3 deletions
|
@ -12,10 +12,12 @@ Content-Type: application/json
|
||||||
"id": null,
|
"id": null,
|
||||||
"method": "create_comment",
|
"method": "create_comment",
|
||||||
"params": {
|
"params": {
|
||||||
"claim_id": "9cb713f01bf247a0e03170b5ed00d5161340c486",
|
"claim_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e8",
|
||||||
"comment": "This is literally, the most anonymous comment I have EVER seen.",
|
"comment": "This is literally, the most anonymous comment I have EVER seen.",
|
||||||
"channel_id": "9cb713f01bf247a0e03170b5ed00d5161340c486",
|
"channel_id": "9cb713f01bf247a0e03170b5ed00d5161340c486",
|
||||||
"channel_name": "@do oge world "
|
"channel_name": "@bbbbb",
|
||||||
|
"signature": "e8ad5dbc268365e5d16f6a9b5d82323efc550412a7a291aa3e715e31641cc57b18241a132ebed28a848086fca6e200a735281c631c7474b01b4c32851ea3dd57",
|
||||||
|
"signing_ts": "1561669614"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
24
tests/http_requests/delete_comment_local.http
Normal file
24
tests/http_requests/delete_comment_local.http
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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 http://localhost:5921/api
|
||||||
|
Content-Type: application/json
|
||||||
|
|
||||||
|
{
|
||||||
|
"jsonrpc": "2.0",
|
||||||
|
"id": null,
|
||||||
|
"method": "abandon",
|
||||||
|
"params": {
|
||||||
|
"claim_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e8",
|
||||||
|
"comment": "This is literally, the most anonymous comment I have EVER seen.",
|
||||||
|
"channel_id": "9cb713f01bf247a0e03170b5ed00d5161340c486",
|
||||||
|
"channel_name": "@bbbbb",
|
||||||
|
"signature": "e8ad5dbc268365e5d16f6a9b5d82323efc550412a7a291aa3e715e31641cc57b18241a132ebed28a848086fca6e200a735281c631c7474b01b4c32851ea3dd57",
|
||||||
|
"signing_ts": "1561669614"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
###
|
19
tests/http_requests/get_channel_from_comment_id.http
Normal file
19
tests/http_requests/get_channel_from_comment_id.http
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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 http://localhost:5921/api
|
||||||
|
Content-Type: application/json
|
||||||
|
|
||||||
|
{
|
||||||
|
"jsonrpc": "2.0",
|
||||||
|
"id": null,
|
||||||
|
"method": get_channel_from_comment_id,
|
||||||
|
"params": {
|
||||||
|
"comment_id": "1a346d7aa4dcc9c6c3f0c702c9cb723e9cdc35f6b8e09d36f553ba6f1b898f83"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
###
|
|
@ -12,7 +12,7 @@ Content-Type: application/json
|
||||||
"id": null,
|
"id": null,
|
||||||
"method": "get_claim_comments",
|
"method": "get_claim_comments",
|
||||||
"params": {
|
"params": {
|
||||||
"claim_id": "9cb713f01bf247a0e03170b5ed00d5161340c486",
|
"claim_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e8",
|
||||||
"page": 1
|
"page": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue