test 수정
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ public class HttpClientAccessTokenServiceWithBase64NiceOn implements HttpClientA
|
|||||||
HttpPost httpPost = new HttpPost(uri);
|
HttpPost httpPost = new HttpPost(uri);
|
||||||
//httpPost.setEntity(new UrlEncodedFormEntity(formParams, charset));
|
//httpPost.setEntity(new UrlEncodedFormEntity(formParams, charset));
|
||||||
httpPost.setEntity(new StringEntity(postParameters, StandardCharsets.UTF_8));
|
httpPost.setEntity(new StringEntity(postParameters, StandardCharsets.UTF_8));
|
||||||
httpPost.setHeader("Content-Type", contentType+" charset=" + encode);
|
httpPost.setHeader("Content-Type", contentType+";charset=" + encode);
|
||||||
|
|
||||||
//HTTP HEADER에 client id, client secret를 base64Encode 한 후 추가
|
//HTTP HEADER에 client id, client secret를 base64Encode 한 후 추가
|
||||||
String cId = oAuthCredentialVo.getClientId();
|
String cId = oAuthCredentialVo.getClientId();
|
||||||
|
|||||||
Reference in New Issue
Block a user