How can i make the external API of NextJS 13.4
Unanswered
Peterbald posted this in #help-forum
PeterbaldOP
I am creating API that is called by external chrome tab of My next project.
I wrote my code to App/api/....
If I visted my next project I can call that api. But If I don't visit, then return null.
I think my API is not on Next server side API. Should I make the component to call that API?
Please let me know how to fix.
I wrote my code to App/api/....
If I visted my next project I can call that api. But If I don't visit, then return null.
I think my API is not on Next server side API. Should I make the component to call that API?
Please let me know how to fix.