Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

HUGE_DICK_10_INCHES's avatar

Post or Get for getting api data

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?

0 likes
2 replies

Please or to participate in this conversation.