2 PATCH api request in same file in NEXT js
I need advice how to solve when I need for one route 2x PUT request. I need to add and remove 2 kinds of inputs. But I can remove one or the other. I can’t figure out a way to set route.js to be able to add and remove both kinds of inputs.
Next.js API POST method doesn’t show data in endpoint
When I’m trying to make a POST request from my frontend side in Next.js project (with TypeScript), my API endpoint doesn’t show desired JSON data, but only empty hyperlink string leading to nowhere.endpoint
getting “Method not allowed” in next js using api routes
trying to use api routes in next js to call an api with POST method from server side, but getting “Method not allowed” error.