Kevin Powell - CommunityKP-C
Kevin Powell - Community14mo ago
35 replies
Faker

When creating a sign out route, should post or get request be used? why ?

Hello guys, sorry to disturb you all, I want to create a sign out route in my express server. I was reading a bit and saw that nowadays post request are used instead of get request which we used back in 2010. My question is why has this changed, why post is now used, I know the simple answer is "for security" but what exactly happens when using get or post to sign out a user, how post will handle it in a different way compared to get please
Was this page helpful?