1
2
3
4
5
6
7
8
9
10
11
12
13
export const testVTClient2 = (async () => {
const { createApiClient } = await import(
"https://esm.sh/gh/nbbaier/valtown-zodios/src/spec/valtown-client.ts"
);
const apiClient = createApiClient("https://api.val.town");
const params = {
params: { username: "nbbaier", val_name: "hello" },
};
const user = await apiClient.getValname(params);
return user;
})();
// Forked from @stevekrouse.testsVTClient
// Forked from @nbbaier.testVTClient
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023