StrikekitStrikekit

api put

HTTP PUT with optional body, body file, or multipart form queue

Syntax

When I api put "<path>"
When I api put "<path>" with body '<json-or-text>'
When I api put "<path>" with body file "<filename>"

Examples

When I api put "/orders/ord-1" with body '{"item":"pen"}'
Then I api should status "200"

Bare api put with a pending form queue sends multipart (same as api post).

On this page