Skip to content

Dirty update #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ authentication with SHA256WITHRSA.

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

#### password
The password of the keystore. Not required for L1.
Expand Down Expand Up @@ -346,7 +346,7 @@ try {
AuthParam authParam = new AuthParam();

authParam.url = URI.create("https://<<URL>>/api/v1");
authParam.httpMethod = "GET";
authParam.httpMethod = "POST";
authParam.appName = "<<appId>>";
authParam.appSecret = "<<appSecret>>";
authParam.formData = formData;
Expand Down Expand Up @@ -385,7 +385,7 @@ try {
AuthParam authParam = new AuthParam();

authParam.url = URI.create(baseUrl);
authParam.httpMethod = "GET";
authParam.httpMethod = "POST";
authParam.appName = "<<appId>>";
String certFileName = "certificates/ssc.alpha.example.com.p12";
String password = "<<passphrase>>";
Expand Down Expand Up @@ -428,7 +428,7 @@ try {
AuthParam authParam_WWW = new AuthParam();
String baseUrl_WWW = String.format("https://<<URL_WWW>>/api/v1?%s", queryString);
authParam_WWW.url = URI.create(baseUrl_WWW);
authParam_WWW.httpMethod = "GET";
authParam_WWW.httpMethod = "POST";
authParam_WWW.appName = "<<appId_WWW>>";
String certFileName = "certificates/ssc.alpha.example.com.p12";
String password = "<<passphrase>>";
Expand All @@ -437,7 +437,7 @@ try {
authParam_WWW.formData = formData;

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

try {
AuthParam authParam_WOG = new AuthParam();
authParam_WOG.httpMethod = "GET";
authParam_WOG.httpMethod = "POST";
authParam_WOG.appName = "<<appId_WOG>>";
authParam_WOG.appSecret = "<<appSecret_WOG>>";
String baseUrl_WOG = String.format("https://<<URL_WOG>>/api/v1?%s", queryString);
Expand All @@ -487,7 +487,7 @@ try {
AuthParam authParam_WWW = new AuthParam();
String baseUrl_WWW = String.format("https://<<URL_WWW>>/api/v1?%s", queryString);
authParam_WWW.url = URI.create(baseUrl_WWW);
authParam_WWW.httpMethod = "GET";
authParam_WWW.httpMethod = "POST";
authParam_WWW.appName = "<<appId_WWW>>";
String certFileName = "certificates/ssc.alpha.example.com.p12";
String password = "<<passphrase>>";
Expand Down