Glossary · Phase 8 · APIs
WebSocket
A connection that stays open so the browser and server can both send messages at any time.
Try it now
Pick the simplest one that does the job.
Learn it properly
API styles · REST, RPC, GraphQL, gRPC and streaming: what each is for. About 30 minutes.
Other terms from the same lesson
- GraphQL: An API style with one endpoint where the client's query names exactly the fields it wants back.
- gRPC: A fast way for services to call each other's functions, with typed messages and generated code.
- REST: A style of API built around resources at URLs, acted on with standard HTTP methods like GET and POST.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.