Coldbox Testing HTTP Methods

Use this skill when simulating HTTP requests in ColdBox tests using the get(), post(), put(), patch(), delete(), or request() methods, setting request headers (Authorization, Accept, Content-Type), sending JSON request bodies, asserting response status with toHaveStatus(), checking validation errors with toHaveInvalidData(), or understanding the difference between execute() (event-based) and the HTTP method helpers (route/URL-based).

ColdBox 47f39bb 7.1 KB Updated

File contents

ColdBox/skills/tree/main/coldbox/testing-http-methods commit 47f39bb9e6

Frequently asked questions

npx skillmds@latest add coldbox/coldbox-testing-http-methods