Understanding API methods
Methods are used to communicate between servers and stuff and it allows to retrieve and send data though different servers.
GET method is when you get information from a different file or place on the internet.
POST method is to send and upload data to something else that retrieves that information.
PATCH method is probably when you update the current data that sent to you.
DELETE method is just as it says it probably just deletes that data and information to that server.
it could all work together in sending and retrieving information from across servers and able to update that information back to back and be able to delete that data.
in conclusion, GET gets information, POST uploads data, PATCH updates information, and DELETE deletes data.
Comments
Log in to leave a comment.
