Skip to content

Commit

Permalink
Fix question README
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelim01 committed Oct 1, 2024
1 parent f179a90 commit fe2d3db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/question/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ curl -X DELETE http://localhost:8081/questions/21

This endpoint allows the deletion of multiple questions by the question ID.

- **HTTP Method**: `DELETE`
- **Endpoint**: `/questions`
- **HTTP Method**: `POST`
- **Endpoint**: `/questions/delete`

### Parameters:

Expand All @@ -446,7 +446,7 @@ This endpoint allows the deletion of multiple questions by the question ID.
### Command Line Example:

```
curl -X DELETE http://localhost:8081/questions -H "Content-Type: application/json" -d '{"ids": [21]}'
curl -X POST http://localhost:8081/questions/delete -H "Content-Type: application/json" -d '{"ids": [21]}'
```

### Example of Response Body for Success:
Expand Down

0 comments on commit fe2d3db

Please sign in to comment.