반응형
APIs
: Application Programming Interfaces is a set of commands, functions, protocols, and objects that programmers can use to create software or interact with an external system.
ex) Facebook, Police data
Endpoint 주소
Paths 주소/this part (category)
Parameters ? this & this= this & this. # like settings or the configuration of an HTTP request
Authentication 인증
JSON
: JavaScript Object Notation
const express = require("express");
const app = express();
app.get("/", function(req, res){
res.send("Server is up and running.")
})
app.listen(3000, function(){
console.log("Server is running on port 3000.");
})
JSON.parse() 한줄 코드가 여러줄로
JSON.stringify() 여러줄 코드가 한줄로
반응형
--------
res.write() can send multiple lines
res.send() only one line, but can be used after multiple res.write()
---------
반응형
'웹개발 > 혼자하는 개발 공부' 카테고리의 다른 글
Angular 기초 (0) | 2023.05.01 |
---|---|
프론트엔드 실력 향상하기 + 인터뷰 준비 (2) | 2023.04.22 |
Vite 프로젝트 깃헙에 올릴 때 .gitignore에 .env 넣는 법 (0) | 2023.02.07 |
SQL vs NoSQL (0) | 2023.01.21 |
프론트엔드 최신 트렌드 뉴스레터로 구독하기 (Collective, Free Code Camp, TechTO (2) | 2023.01.06 |