Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

greg pfp
greg
@gregfromstl
When is it appropriate to create a POST vs a GET? I keep seeing APIs use a POST for seemingly no reason and it drives me crazy
5 replies
2 recasts
13 reactions

Steve pfp
Steve
@stevedylandev.eth
From GitHub’s API docs, usually what I lean towards
2 replies
0 recast
3 reactions

greg pfp
greg
@gregfromstl
Yeah this should be the only way
0 reply
0 recast
1 reaction

Moon pfp
Moon
@moon.eth
If it's a helpful clarification: PUT just replaces something at a URL path and you can assume you get then GET it from that same path. POST potentially has side effects beside just PUTing something, and doesn't necessarily put something you can GET at the POST URL.
0 reply
0 recast
1 reaction