Skip to content

Commit 88f7294

Browse files
authored
Merge pull request #8 from blasttoys/dirtyUpdate
Dirty update
2 parents 3a8e159 + 9ade817 commit 88f7294

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ authentication with SHA256WITHRSA.
199199

200200
#### formData
201201
Data which should be passed in the request (for `POST` requests
202-
usually). For `GET` requests, set this value to `null`.
202+
usually). For `GET` requests, this value is not necessary.
203203

204204
#### password
205205
The password of the keystore. Not required for L1.
@@ -346,7 +346,7 @@ try {
346346
AuthParam authParam = new AuthParam();
347347

348348
authParam.url = URI.create("https://<<URL>>/api/v1");
349-
authParam.httpMethod = "GET";
349+
authParam.httpMethod = "POST";
350350
authParam.appName = "<<appId>>";
351351
authParam.appSecret = "<<appSecret>>";
352352
authParam.formData = formData;
@@ -385,7 +385,7 @@ try {
385385
AuthParam authParam = new AuthParam();
386386

387387
authParam.url = URI.create(baseUrl);
388-
authParam.httpMethod = "GET";
388+
authParam.httpMethod = "POST";
389389
authParam.appName = "<<appId>>";
390390
String certFileName = "certificates/ssc.alpha.example.com.p12";
391391
String password = "<<passphrase>>";
@@ -428,7 +428,7 @@ try {
428428
AuthParam authParam_WWW = new AuthParam();
429429
String baseUrl_WWW = String.format("https://<<URL_WWW>>/api/v1?%s", queryString);
430430
authParam_WWW.url = URI.create(baseUrl_WWW);
431-
authParam_WWW.httpMethod = "GET";
431+
authParam_WWW.httpMethod = "POST";
432432
authParam_WWW.appName = "<<appId_WWW>>";
433433
String certFileName = "certificates/ssc.alpha.example.com.p12";
434434
String password = "<<passphrase>>";
@@ -437,7 +437,7 @@ try {
437437
authParam_WWW.formData = formData;
438438

439439
AuthParam authParam_WOG = new AuthParam();
440-
authParam_WOG.httpMethod = "GET";
440+
authParam_WOG.httpMethod = "POST";
441441
authParam_WOG.appName = "<<appId_WOG>>";
442442
authParam_WOG.appSecret = "<<appSecret_WOG>>";
443443
String baseUrl_WOG = String.format("https://<<URL_WOG>>/api/v1?%s", queryString);
@@ -478,7 +478,7 @@ String queryString = queryData.toString(true);
478478

479479
try {
480480
AuthParam authParam_WOG = new AuthParam();
481-
authParam_WOG.httpMethod = "GET";
481+
authParam_WOG.httpMethod = "POST";
482482
authParam_WOG.appName = "<<appId_WOG>>";
483483
authParam_WOG.appSecret = "<<appSecret_WOG>>";
484484
String baseUrl_WOG = String.format("https://<<URL_WOG>>/api/v1?%s", queryString);
@@ -487,7 +487,7 @@ try {
487487
AuthParam authParam_WWW = new AuthParam();
488488
String baseUrl_WWW = String.format("https://<<URL_WWW>>/api/v1?%s", queryString);
489489
authParam_WWW.url = URI.create(baseUrl_WWW);
490-
authParam_WWW.httpMethod = "GET";
490+
authParam_WWW.httpMethod = "POST";
491491
authParam_WWW.appName = "<<appId_WWW>>";
492492
String certFileName = "certificates/ssc.alpha.example.com.p12";
493493
String password = "<<passphrase>>";

0 commit comments

Comments
 (0)