comment-server/test/http_requests/get_channel_from_comment_id.http
2019-08-23 14:15:09 -04:00

20 lines
684 B
HTTP

# 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"
}
}
###