-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequest.http
More file actions
34 lines (24 loc) · 744 Bytes
/
Copy pathrequest.http
File metadata and controls
34 lines (24 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@host = http://localhost:8080
### Get Admin Metrics
GET {{host}}/admin/metrics
###
### Profane word - lowercase
POST {{host}}/api/validate_chirp
Content-Type: application/json
{"body": "I had a kerfuffle at the store"}
### Profane word - mixed case
POST {{host}}/api/validate_chirp
Content-Type: application/json
{"body": "This Sharbert is delicious"}
### Multiple profane words
POST {{host}}/api/validate_chirp
Content-Type: application/json
{"body": "A kerfuffle about sharbert and fornax"}
### No profane words
POST {{host}}/api/validate_chirp
Content-Type: application/json
{"body": "What a wonderful day"}
### All profane words
POST {{host}}/api/validate_chirp
Content-Type: application/json
{"body": "kerfuffle sharbert fornax"}