오윤석

access_token 인증 방식 변경 대응

...@@ -53,7 +53,7 @@ public class Api { ...@@ -53,7 +53,7 @@ public class Api {
53 conn.setRequestMethod(method); 53 conn.setRequestMethod(method);
54 54
55 if (accessToken != null) { 55 if (accessToken != null) {
56 - conn.setRequestProperty("access_token", accessToken); 56 + conn.setRequestProperty("Authorization", "Token " + accessToken);
57 } 57 }
58 58
59 if ("POST".equals(method) || "PUT".equals(method)) { 59 if ("POST".equals(method) || "PUT".equals(method)) {
......