What does an API mainly let programs do?
AnswerCommunicate with each other using agreed rules
APIs define requests and responses so different programs can work together.
Coding · Facts & stats
7 fact-checked facts about APIs, each with the reason behind it. 5 more are in today's round and join this page after it closes.
AnswerCommunicate with each other using agreed rules
APIs define requests and responses so different programs can work together.
AnswerGET
GET requests read data from a server without changing it.
AnswerRepresentational State Transfer
REST is an architectural style for APIs built around resources and standard HTTP methods.
AnswerPOST
POST sends data to the server, often creating a new record.
AnswerInternal Server Error
A 500 means something went wrong on the server while handling the request.
AnswerToo Many Requests
429 tells a client it has sent too many requests in a given time, as with API rate limits.
AnswerAn HTTP request a service sends to your URL when an event happens
Instead of you repeatedly asking for updates, a webhook pushes a notification when something occurs.