CodeTabs
One snippet in several languages behind a zero-JS tab strip.
Live
c := client.NewClient(baseURL, nil) page, err := c.ListPosts(ctx, nil)
const api = new Client({ baseURL, token }); const page = await api.posts.list({ limit: 25 });
curl -H "Authorization: Bearer $TOKEN" "$BASE/posts?limit=25"