Files
cats-client.ts
What you'll learn
- Pass path parameters and query values as strings under param and query, typed by the server's validators
- Send a header a route validates under header, one every request carries with hc's headers option, and know what init overrides
- Build an absolute URL with $url() and a path with $path() from the route's type
Press Run tests to start the app. Its log appears here.Tests
- cats-client.spec.tsrun to see its tests