hen 0.17.0

Run protocol-aware API request collections from the command line or through MCP.
Documentation
name = Multipart Form Data Examples
description = Demonstrates multipart text fields and file uploads using Postman Echo.

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

---

Echo Multipart Text Fields

POST {{ BASE }}/post

~ username = hen
~ mode = multipart
~ note = hello from hen

# Multipart text request succeeds
^ & status == 200

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

# Request content type is multipart
^ & body.headers.content-type ~= /multipart\/form-data/

# Echoes the username field
^ & body.form.username == 'hen'

# Echoes the mode field
^ & body.form.mode == 'multipart'

# Echoes the note field
^ & body.form.note == 'hello from hen'

---

Echo Multipart File Upload

POST {{ BASE }}/post

~ description = syntax reference sample
~ attachment = @../syntax-reference.md

# File upload request succeeds
^ & status == 200

# Upload request content type is multipart
^ & body.headers.content-type ~= /multipart\/form-data/

# Echoes the description field
^ & body.form.description == 'syntax reference sample'

# Lists the uploaded file name
^ & body.files ~= /syntax-reference\.md/

# Includes a base64 file payload
^ & body.files ~= /data:application\/octet-stream;base64/