---
# System prepended metadata

title: 'API: Morgan library documentation'

---

# API: Morgan library documentation

- This library is for debugging API petitions

### Examples:

```shell=
    # Simple GET petiton
    GET / 200 2.873 ms - 22
```

---

```shell=
    # GET petition with parameters
    GET /?name=xavi 200 2.873 ms - 22
```

---

```shell=
    # POST petition with body
    POST /ping 200 2.408 ms - 18
```

---

- ${METHOD} ${URL} ${STATUS} ${RESPONSE} ${CONTENT_LENGTH}

1. ${METHOD} --> Petition method
2. ${URL} --> Url
3. ${STATUS} --> Status (See posibles status below)
4. ${RESPONSE} --> Request time
5. ${CONTENT_LENGTH} --> Data length

## Status:

- 304: The file wasen't changes before last petition **(Not Modified)**


