본문 바로가기

TIL(today i learned)

[JS] web APIs

오늘은 웹 api에 대한 대략적인 개념과 브라우저를 어떻게 바라보면 좋은지에 대해 공부하였다.
아래는 참고하면 좋을만한 사이트들과 웹에서 제공하는 apis 종류의 일종, 그리고 http와 https의 차이에 대한 내용을 공유한다.


WEB Application Programming Interfaces

  • 다양한 브라우저에서 공동으로 제공하기로 약속한 APIs
    • DOM APIs
    • Network APIs
    • Graphics APIs
    • Audio/video APIs
    • Device APIs
    • File APIs
    • Storage APIs

HTTP vs HTTPs

  • HTTP : 유저와 서버 간에 request / return이 보안처리 되지 않은 웹
  • HTTPs : 보안처리가 된 웹 (유저와 서버가 데이터를 주고 받을 때, 해당 데이터가 encrypt 됨)

MDN Web API:
https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Introduction

Introduction to web APIs - Learn web development | MDN

At this point, you should have a good idea of what APIs are, how they work, and what you can do with them in your JavaScript code. You are probably excited to start actually doing some fun things with specific APIs, so let's go! Next up, we'll look at mani

developer.mozilla.org

Web API collection:
https://developer.mozilla.org/en-US/docs/Web/API

Web APIs | MDN

When writing code for the Web, there are a large number of Web APIs available. Below is a list of all the APIs and interfaces (object types) that you may be able to use while developing your Web app or site.

developer.mozilla.org

Security:
https://www.thoughtco.com/what-javascript-cannot-do-2037666

Here's What JavaScript CAN'T Do

There are a few things that the JavaScript programming language is unable to do -- a brief outline of its limitations explains.

www.thoughtco.com