StrikekitStrikekit

api set field

Queue one multipart text field on the Platform api session

Queue a single multipart form text field. Send with a bare api post / put / patch after any fields and files are set.

Syntax

When I api set field "<name>" to "<value>"

Qualifiers

QualifierRoleExample
toField valueapi set field "name" to "Invoice"

Examples

When I api set field "name" to "Invoice"
When I api set field "note" to "rush"
When I api set file "main" to "invoice.pdf"
When I api post "/upload"

Notes

  • Values expand via shared resolve ($ENV, @ / @@ slots, {{faker}}).
  • Same field name overwrites the previous value.
  • Do not combine a pending form queue with with body / with body file on the send step.
  • api get / api delete fail if a form queue is still pending.

On this page