자바 스크립트 (JavaScript)/Asynchronous JS, Ajax & Fetch API
REST API & HTTP Requests
종우공간
2021. 8. 11. 02:01
API(messenger)
- Application Programming Interface
- contracted provided by one pirce of software to another
- Structured request and response
- API endpoints: URL
REST(HTTP Request to format that message)
- Representational State Transfer
- architecture style for designing networked applications
- relies on stateless, client-server protocol, almost always HTTP
Http Requests
- GET: retrieve data from a specified resource
- POST: submit data to be processed to a specified resource
- PUT: update a specified resource
- DELETE: delete a specified resource