수정
This commit is contained in:
@@ -12,10 +12,14 @@ const LoginForm = () => {
|
|||||||
id:'',
|
id:'',
|
||||||
pw:''
|
pw:''
|
||||||
})
|
})
|
||||||
const requestUrl = 'http://localhost:8080/login/oauth-kakao'
|
const requestUrl = 'https://kauth.kakao.com/oauth/authorize'
|
||||||
|
|
||||||
const login = () => {
|
const login = () => {
|
||||||
axios.post(requestUrl).then((res) => {
|
axios.get(requestUrl, {
|
||||||
|
headers : {
|
||||||
|
"client_id":"a1d6afef2d4508a10a498b7069f67496",
|
||||||
|
}
|
||||||
|
}).then((res) => {
|
||||||
console.log(requestUrl + "===>")
|
console.log(requestUrl + "===>")
|
||||||
console.log(res.data)
|
console.log(res.data)
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user