Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.21 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.21 KB

Render APIB HTML

Dependabot badge Dependencies Build Status Coverage Status

Serverless rendering of api blueprint files as styled html

Usage

Make a request with the api blueprint base64 encoded in the X-Blueprint header.

Endpoint

https://d31myey2oeipxs.cloudfront.net

Headers

{
  "X-Blueprint": "IyBIZWxsbyBXb3JsZCE="
}

Response

<h1>Hello World!</h1>

Example

curl --request GET \
  --location 'https://d31myey2oeipxs.cloudfront.net/v1' \
  --header 'X-Blueprint: Rk9STUFUOiAxQQoKIyBIZWxsbyBXb3JsZA=='

Credits