diff --git a/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md b/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md index 33e185fd9..1d9a82daa 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md @@ -12,7 +12,7 @@ CRUD refers to the basic operations in a database: Create, Read, Update, and Del - _Update_: HTTP `PUT`or `PATCH` to change an existing resource. - _Delete_: HTTP `DELETE` to remove a resource. -This document has two examples, one that uses the core k6 APIs (`k6/http` and `checks`) and another to show the more recent APIs (`httpx` and `k6chaijs`). +This document has two examples, one that uses the core k6 APIs (`k6/http` and `checks`) and another to show the more recent APIs ([`httpx`](/javascript-api/jslib/httpx/) and [`k6chaijs`](/javascript-api/jslib/k6chaijs/)). ## Test steps @@ -25,6 +25,8 @@ The steps implemented in the [VU stage](/using-k6/test-lifecycle/#the-vu-stage) 3. _Update_ the name of the "croc" and _read_ the "croc" to confirm the update operation. 4. _Delete_ the "croc" resource. +## Core k6 APIs example + ```javascript @@ -143,6 +145,8 @@ export default (authToken) => { +## httpx and k6chaijs example + ```javascript