mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
22 lines
778 B
HTTP
22 lines
778 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=TEST&message=Hi!&previous=Hoy!
|
|
|
|
###
|
|
|