put 2-1.(7) Properties Properties는 Map보다 축소된 기능의 객체라고 할 수 있다. 1) Properties key와 value값으로 String만 사용 setProperty(), getProperty()메서드를 통해서 데이터 출력 DB에 대한 연결정보를 파일로 저장해 놓고 사용하는 용도로 많이 쓰임 : db.properties라는 파일명으로 자주 작명 2) Map 모든 형태의 객체 데이터를 key와 va... GETMapproperties20200916setProperty()putgetProperty()20200916 회원정보수정 get(조회), post(추가), put(수정), delete(삭제) 조회 : await this.axios.get(url, {headers:headers}); 추가 : await this.axios.post(url, body, {headers:headers}); 수정 : await this.axios.put(url, body, {headers:headers}); 삭제 : await this... vueputNodeNode board.js_6 게시글 수정 - PUT 1. 제목, 내용을 정의한다. const title = req.body.title; const content = req.body.content; 불러 올(req) 데이터의 body에 해당하는 부분의 title과 content의 값을 정의한다. body : 안보이게 보내거나 긴내용을 보낼때 query : 보이거나 내용이 길지 않을때 2. updateOne() title과... putNodeNode MyPage.vue 백엔드로 데이터를 전송하는 명령어 get(조회), post(추가), put(수정), delete(삭제) 조회 : await this.axios.get(url, {headers:headers}); 추가 : await this.axios.post(url, body, {headers:headers}); 수정 : await this.axios.put(url, body, {headers:headers... deleteemitputPOSTvueGETGET
2-1.(7) Properties Properties는 Map보다 축소된 기능의 객체라고 할 수 있다. 1) Properties key와 value값으로 String만 사용 setProperty(), getProperty()메서드를 통해서 데이터 출력 DB에 대한 연결정보를 파일로 저장해 놓고 사용하는 용도로 많이 쓰임 : db.properties라는 파일명으로 자주 작명 2) Map 모든 형태의 객체 데이터를 key와 va... GETMapproperties20200916setProperty()putgetProperty()20200916 회원정보수정 get(조회), post(추가), put(수정), delete(삭제) 조회 : await this.axios.get(url, {headers:headers}); 추가 : await this.axios.post(url, body, {headers:headers}); 수정 : await this.axios.put(url, body, {headers:headers}); 삭제 : await this... vueputNodeNode board.js_6 게시글 수정 - PUT 1. 제목, 내용을 정의한다. const title = req.body.title; const content = req.body.content; 불러 올(req) 데이터의 body에 해당하는 부분의 title과 content의 값을 정의한다. body : 안보이게 보내거나 긴내용을 보낼때 query : 보이거나 내용이 길지 않을때 2. updateOne() title과... putNodeNode MyPage.vue 백엔드로 데이터를 전송하는 명령어 get(조회), post(추가), put(수정), delete(삭제) 조회 : await this.axios.get(url, {headers:headers}); 추가 : await this.axios.post(url, body, {headers:headers}); 수정 : await this.axios.put(url, body, {headers:headers... deleteemitputPOSTvueGETGET