Add API
+16
@@ -0,0 +1,16 @@
|
|||||||
|
# General server API structure & basics
|
||||||
|
In this page, we introduce fundementals of _How server handle APIs_ & _How to send API to server_
|
||||||
|
|
||||||
|
## How server handles APIs
|
||||||
|
This section is for back-end developers of server.
|
||||||
|
|
||||||
|
## How to send API to server
|
||||||
|
This section is for every developer who needs to send API to server.
|
||||||
|
|
||||||
|
### Endpoints:
|
||||||
|
Formula of endpoints: `https://` or `http://` + server address + `/tag` + `/route/to/target`
|
||||||
|
|
||||||
|
Formula of endpoints: `https://medad.fun/v1/ads/get`
|
||||||
|
|
||||||
|
Every endpoint starts with the version or tag. Tags divides the version of controller, useful for tests and migration (`v1`, `beta`, `test`, etc)
|
||||||
|
|
||||||
Reference in New Issue
Block a user