1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/requests/kei.http
2019-12-10 00:39:33 +01:00

22 lines
772 B
HTTP

# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# 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);
### Is the server up?
GET http://localhost:44445/api/royalnet/version
### Basic conversation
POST http://localhost:44445/api/kei
Accept: application/json
Content-Type: application/x-www-form-urlencoded
kpid=test&convid=1&first=true&message=lul
###