Skip to content

Commit d235888

Browse files
authored
Fix JSON key from 'e-mail' to 'email' in feedbacks.md
1 parent dbea22e commit d235888

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

feedbacks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ As we don't have yet an use case to get a single feedback the main endpoint is n
2020
Request body:
2121
```json
2222
{
23-
"e-mail": "myemail@test.com",
23+
"email": "myemail@test.com",
2424
"message": "DSpace is the best!",
2525
"page": "/home"
2626
}
2727
```
2828

2929
The json body must be valid that mean
30-
- e-mail must be provided
31-
- message must be provided
30+
- `email` must be provided
31+
- `message` must be provided
3232

3333
Return codes:
3434
* 201 Created - if the operation succeed
35-
* 400 Bad Request - if some of the fields e-mail or message is missing
36-
* 404 Not found - if the property 'feedback.recipient' is not configured
35+
* 400 Bad Request - if some of the fields `email` or `message` is missing
36+
* 404 Not found - if the property `feedback.recipient` is not configured

0 commit comments

Comments
 (0)