File: README.md

package info (click to toggle)
ulfius 2.7.15-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,856 kB
  • sloc: ansic: 23,025; makefile: 708; sh: 140
file content (30 lines) | stat: -rw-r--r-- 813 bytes parent folder | download | duplicates (4)
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
# Injection example

Provides an example program that will add and remove endpoints during the execution

## Compile and run

```bash
$ make test
```

## Usage

Right after starting the program, the endpoints available are the following:

- `GET http://localhost:4528/inject/first`
- `GET http://localhost:4528/inject/second`
- `GET http://localhost:4528/inject/third`

On the program console, press `<enter>` one time will add this new endpoint:
- `GET http://localhost:4528/inject/fourth`

Press `<enter>` again to add the following endpoint:
- `GET http://localhost:4528/inject/fifth`

Press `<enter>` to remove the following endpoint:
- `GET http://localhost:4528/inject/fourth`

Then press `<enter>` to quit the application

You can test the presence or absence of the specified endpoints between each step.