fetch api side with argument
Unanswered
Checkered Giant posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Checkered GiantOP
i wana fetch my api side with argument, someone tell me i have to use post method, and i dont know how can i use argument to fetch my db with api fetching, can someone help me plz?
4 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Checkered GiantOP
does someone have an idea about why?
![Avatar](https://cdn.discordapp.com/avatars/194128415954173952/708a8637ada505b6b7a85972807d9dca.webp?size=256)
Alfonsus Ardani
you can post with "body" to pass in objects about any info regarding your post request
or you can just add the added parameters to the serach params
or you can just add the added parameters to the serach params
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Checkered GiantOP
i know but i cant find a code working, do you have a code exemple or somethings like?
![Avatar](https://cdn.discordapp.com/avatars/194128415954173952/708a8637ada505b6b7a85972807d9dca.webp?size=256)
Alfonsus Ardani
its a pretty common implementation that is widely used even outside of next.js