Skip to content

Commit b2bc268

Browse files
Add links to libs, add example headings
1 parent bb431f0 commit b2bc268

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CRUD refers to the basic operations in a database: Create, Read, Update, and Del
1212
- _Update_: HTTP `PUT`or `PATCH` to change an existing resource.
1313
- _Delete_: HTTP `DELETE` to remove a resource.
1414

15-
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`).
15+
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/)).
1616

1717
## Test steps
1818

@@ -25,6 +25,8 @@ The steps implemented in the [VU stage](/using-k6/test-lifecycle/#the-vu-stage)
2525
3. _Update_ the name of the "croc" and _read_ the "croc" to confirm the update operation.
2626
4. _Delete_ the "croc" resource.
2727

28+
## Core k6 APIs example
29+
2830
<CodeGroup labels={["api-crud-operations-k6-core-apis.js"]} lineNumbers={[true]}>
2931

3032
```javascript
@@ -143,6 +145,8 @@ export default (authToken) => {
143145

144146
</CodeGroup>
145147

148+
## httpx and k6chaijs example
149+
146150
<CodeGroup labels={["api-crud-operations-k6-new-apis.js"]} lineNumbers={[true]}>
147151

148152
```javascript

0 commit comments

Comments
 (0)