Next.js Discord

Discord Forum

Server API

Answered
Verin posted this in #help-forum
Open in Discord
How to send more than 10 parameters with GET method?
And how to get them from them api?
Answered by joulev
Have a look at catch-all routes, e.g. api/test/[…ids]
View full answer

3 Replies

When I send the GET request to the api, the directory looks like this "api/test/[id]
Then when I send more than 10 parameters, How should the api directory look like?
Answer
oh, yes. I've forgot it.
Thanks