hen 0.21.0

Run protocol-aware API request collections from the command line or through MCP.
Documentation
name = Binary Request Body
description = Sends a raw file-backed HTTP body with an explicit octet-stream content type.

$ BASE = https://postman-echo.com

---

Echo Raw File Body

POST {{ BASE }}/post

body_file = @./files/raw_payload.bin
* Content-Type = application/octet-stream

# Raw request succeeds
^ & status == 200

# Echo response is JSON
^ & header.content-type ~= /application\/json/

# Request content type stays explicit
^ & body.headers.content-type == 'application/octet-stream'

# Echo service wraps octet-stream bodies as a Buffer object
^ & body.data.type == 'Buffer'

# Echoed bytes start with "raw"
^ & body.data.data[0] == 114
^ & body.data.data[1] == 97
^ & body.data.data[2] == 119

# Echoed bytes include the final "1" from version=1
^ & body.data.data[27] == 49