Skip to content

Commit 63aa871

Browse files
authored
Update 2-VAmPI.md
1 parent acd5eb6 commit 63aa871

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

intro_hacking/5-api/2-VAmPI.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Playing with VAmPI
22

33

4-
## Installation
4+
## Step 1 - Installation
55

66
``` bash
77
git clone https://github.com/erev0s/VAmPI.git
@@ -10,21 +10,21 @@ docker build -t vampi .
1010
docker run -p 5000:5000 vampi
1111
```
1212

13-
## Testing
14-
### Run
13+
## Step 2 - Testing
14+
### A. Basic Run
1515

1616
```bash
1717
curl http://localhost:5000
1818
```
19-
### Expected Result
19+
Expected Result
2020

2121
```bash
2222
{
2323
"message": "VAmPI is running"
2424
}
2525

2626
```
27-
### Swagger
27+
### B. Swagger
2828

2929
- Go to swagger interface and try to call the api methods
3030

@@ -35,7 +35,7 @@ curl http://localhost:5000
3535
- Login
3636
- Pay attention, for other requests you need to supplly the JWT you got from the log in process
3737
- Explore the API
38-
## Postman
38+
### C. Postman
3939

4040
- Go to http://localhost:5000/openapi.json and save the file to your machine
4141
- Open Postman
@@ -58,3 +58,4 @@ curl http://localhost:5000
5858

5959

6060

61+

0 commit comments

Comments
 (0)