StrikekitStrikekit

api get

HTTP GET against Platform api session

Issue an HTTP GET using the Platform: api session ($API_BASE_URL + path).

Syntax

When I api get "<path>"

Examples

Platform: api

Scenario: List orders
  When I api get "/orders"
  Then I api should status "200"

Notes

  • Relative paths join $API_BASE_URL. Absolute URLs are also accepted by the session.
  • Quoted values expand via shared resolve ($ENV, @ / @@ whole-string slots, {{faker}}).
  • Requires Platform: api.

On this page