Toggle navigation
Toggle navigation
This project
Loading...
Sign in
cse437_e
/
smartdoorlock-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
오윤석
2020-11-23 19:05:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
38003c5ea4bd4ed1ae64b64b532a999a580ffd70
38003c5e
1 parent
638c36e7
access_token 인증 방식 변경 대응
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/src/main/java/com/sunnni/smartdoorlock/api/Api.java
app/src/main/java/com/sunnni/smartdoorlock/api/Api.java
View file @
38003c5
...
...
@@ -53,7 +53,7 @@ public class Api {
conn
.
setRequestMethod
(
method
);
if
(
accessToken
!=
null
)
{
conn
.
setRequestProperty
(
"
access_token"
,
accessToken
);
conn
.
setRequestProperty
(
"
Authorization"
,
"Token "
+
accessToken
);
}
if
(
"POST"
.
equals
(
method
)
||
"PUT"
.
equals
(
method
))
{
...
...
Please
register
or
login
to post a comment