Change password

This commit is contained in:
YuCheng Hu 2021-11-30 10:31:51 -05:00
parent 735b732c7a
commit 9395c85c0f
1 changed files with 3 additions and 3 deletions

View File

@ -17,13 +17,13 @@ public class RetsGetMetadataExample {
//Create a RetsHttpClient (other constructors provide configuration i.e. timeout, gzip capability)
RetsHttpClient httpClient = new CommonsHttpClient();
RetsVersion retsVersion = RetsVersion.RETS_1_7_2;
String loginUrl = "***REMOVED***";
String loginUrl = "";
//Create a RetesSession with RetsHttpClient
RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion);
String username = "***REMOVED***";
String password = "***REMOVED***";
String username = "";
String password = "";
//Set method as GET or POST
session.setMethod("POST");