Skip to content

🌐 Serverless rendering of api blueprint files as styled html

License

Notifications You must be signed in to change notification settings

iamogbz/render-apib-html

Repository files navigation

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