Upgrades Server to Allow Production Deployment #2

Merged
osilkin98 merged 10 commits from server_upgrade into master 2019-07-24 08:24:25 +02:00
3 changed files with 8 additions and 7 deletions
Showing only changes of commit d65b2b125b - Show all commits

View file

@ -4,7 +4,7 @@
# * 'gtrp' and 'gtr' create a GET request with or without query parameters; # * '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; # * '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); # * '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 POST http://localhost:5922/api
Content-Type: application/json Content-Type: application/json
{ {
@ -12,12 +12,12 @@ Content-Type: application/json
"id": null, "id": null,
"method": "create_comment", "method": "create_comment",
"params": { "params": {
"claim_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e8", "claim_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e7",
"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": "@bbbbb", "channel_name": "@bbbbb",
"signature": "e8ad5dbc268365e5d16f6a9b5d82323efc550412a7a291aa3e715e31641cc57b18241a132ebed28a848086fca6e200a735281c631c7474b01b4c32851ea3dd57", "signature": "e8ad5dbd660365efd1646a9b5d82323efc550712a7a291aa3e715e31641cc57b18241a132ebed28a848086fca6e200a735281c631c7474b01b4c32851ea3dd57",
"signing_ts": "1561669614" "signing_ts": "1561669624"
} }
} }

View file

@ -4,7 +4,7 @@
# * 'gtrp' and 'gtr' create a GET request with or without query parameters; # * '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; # * '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); # * '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 POST http://localhost:5922/api
Content-Type: application/json Content-Type: application/json
{ {
@ -12,8 +12,9 @@ Content-Type: application/json
"id": null, "id": null,
"method": "get_claim_comments", "method": "get_claim_comments",
"params": { "params": {
"claim_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e8", "claim_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e7",
"page": 1 "page": 1,
"page_size": 100
} }
} }