본문 바로가기

코리아 IT아카데미/android21

20일차 | DI 개념 Base63Encoder package com.example.blog.test; import android.os.Build; import androidx.annotation.RequiresApi; import java.util.Base64; public class Base64Encoder implements IEncoder { // @Override // public String encode(String message) { // return null; // } @Override @RequiresApi(api = Build.VERSION_CODES.O) public String encode(String message) { return Base64.getEncoder().encodeToString(messa.. 2022. 3. 16.
18,19, 20일차 | 블로그 포스팅 Windows + Alt + R을 눌러서 화면 녹화 코드 추가 AndroidManifest.xml build.gradle plugins { id 'com.android.application' } android { compileSdk 32 defaultConfig { applicationId "com.example.blog" minSdk 25 targetSdk 32 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-a.. 2022. 3. 14.
18일차 | 스프링부트 JWT 블로그 가상 서버 셋팅하기2 회원정보한건보기_6 GET: http://lalacoding.site/user/77 Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJjb3PthqDtgbAiLCJpZCI6NzcsImV4cCI6MTY0NjkwODI4OX0.VM_dzI4GKtPyzI5Be9omvEIX4-_2C-dniqjaocISnedg72bcoqXFH5gW7dpQn4eRBrmYGu79ML7H9d1QRGeE3w 게시글쓰기_7 POST: http://lalacoding.site:8080/post { "title":"게시글쓰기", "content":"id는 77" } 게시글목록보기_8,12 GET: http://lalacoding.site:8080/post 게시글한건보기.. 2022. 3. 10.
17일차 | 스프링부트 JWT 블로그 가상 서버 셋팅하기1 init / User GET : http://lalacoding.site/init/user init / post POST: http://lalacoding.site/init/user 로그인 처리 POST: http://lalacoding.site/login { "username":"user0002", "password":"1234" } 회원가입 처리 POST: http://lalacoding.site/join { "username":"user0002", "password":"1234", "email":"user0002@gmail.com" } 회원정보 수정 PUT: http://lalacoding.site/user/45 Authorization : Bearer eyJ0eXAiOiJKV1QiLCJhbGciO.. 2022. 3. 9.