Skip to content

Commit

Permalink
build: add response
Browse files Browse the repository at this point in the history
  • Loading branch information
beiyuouo committed Aug 11, 2022
1 parent 6bad447 commit 86c35a3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/hcaptcha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ File:
| ----- | ------ | ------------------------ |
| `img` | `file` | The challenge image file |

Response: `JSON`

| Key | Type | Description |
| --------- | -------- | ------------------------------------------------------------------------------ |
| `result` | `list` | The result, e.g. `[true, false, true, false, false, true, false, false, true]` |
| `message` | `string` | The message, e.g. `error information` |

Status Code:

| Code | Description |
| ----- | ------------------------------------------------------------------------------------ |
| `200` | Success |
| `400` | Bad Request, some parameters are missing or invalid |
| `500` | Server Error, unexpected error, please open an issue or leave a feedback in comments |

## Examples

### Python
Expand Down

0 comments on commit 86c35a3

Please sign in to comment.