Read this article, it will help you understand the difference:
https://www.quora.com/When-should-you-use-POST-vs-GET-for-API-calls
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am always using post method for any api call because I looked into network tab for facebook and they do it as well for every request for messages or user data and so on, they use post method.
If I am outputing posts per username should I switch to get or it doesnt matter? I know that post is used for changing data and so on. But for fetching is there any difference?
Please or to participate in this conversation.