Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Fetchs #1

Open
bznbot opened this issue Jul 19, 2024 · 1 comment
Open

Global Fetchs #1

bznbot opened this issue Jul 19, 2024 · 1 comment

Comments

@bznbot
Copy link

bznbot commented Jul 19, 2024

I'm using the Next.js TSDK template, but where can I make global fetch requests? For example, to my createUser API or to use functions like webapp.expand?

RootInner or Root? or anything else?

image

Im trying to do something like Dogs: https://t.me/dogshouse_bot/join?startapp=JioMJu6FRqivOO2C3JRQWg

on access it they fetch a POST to /api/join creating a new user and show a loading then save it on db.

@NicolasCassunde
Copy link

Up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants