Skip to content

Commit 79d7679

Browse files
committed
feat: update index example
1 parent 1935948 commit 79d7679

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/pages/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,25 @@ const textContents = {
5050
"variants": [
5151
{
5252
"id": "success",
53+
"handler": "json",
5354
"response": {
5455
"status": 200,
5556
"body": { "id": 1, "name": "John Doe"}
5657
}
5758
},
5859
{
5960
"id": "not-found",
61+
"handler": "json",
6062
"response": {
6163
"status": 404
6264
}
6365
},
6466
{
6567
"id": "proxied",
66-
"handler": "proxy"
67-
"host": "https://jsonplaceholder.typicode.com/users/1"
68+
"handler": "proxy",
69+
"response": {
70+
"host": "https://jsonplaceholder.typicode.com/users/1"
71+
}
6872
}
6973
]
7074
}

0 commit comments

Comments
 (0)