Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

📐 ReqMd Markdown Format

ReqMd is designed to leverage already existing markdown features and conventions as much as possible. This means that ReqMd documents are valid to render in any other context. This also means that ReqMd documents can be rendered in any system and will gracefully degrade if the system does not support all of the ReqMd features.

This example highlights a sample document which can be downloaded from the assets directory. The top of the document is a header following the front matter convention and describes the server to send requests to. After this section are three HTTP sections showcasing some of the requests that can be fashioned.

---
title: Working with Widgets
http:
  server: https://echo.free.beeceptor.com
---

## Create Widget

```http
POST /widget
Content-Type: application/json
```

```json
{ "name": "foo" }
```

## Delete Widget

```http
DELETE /widget/123
```

## Search Widgets

```http
GET /widget/search
    ?q=full+metal
    &max=10
```

For more details on the format see the following pages: