Closed mikeguo99 closed 1 year ago
If your API is in Next.js (pages/api
), you can use getFlags()
just like you would in getServerSideProps
.
If your API is a separate service, you can use the Public API.
I'll close this but feel free to comment again if something is still unclear :)
I limit features in pages and meanwhile want to limit it in my api too. I'm not finding any function can be called in api. Only Public API can be used?