Browse Source

++ verify in API

patch-1
Nico Schottelius 4 years ago
parent
commit
05decb388e
  1. 37
      README.md

37
README.md

@ -24,10 +24,30 @@ In development, pre production.
Verify whether the requesting app is authenticated. This is only
allowed to be used for trusted appids.
Returns a JSON object:
Either
```
{
status: "OK",
}
```
OR
```
{
status: "FAIL",
}
```
### POST: /verify
Not sure if this one will be publicly available.
Request JSON object:
```
{
version: "1",
@ -38,6 +58,23 @@ Not sure if this one will be publicly available.
}
```
Response JSON object:
Either
```
{
status: "OK",
}
```
OR
```
{
status: "FAIL",
}
```
## Usage: REST
- Use an existing token to connect to the service

Loading…
Cancel
Save