Change password

This commit is contained in:
YuCheng Hu 2021-11-30 10:31:51 -05:00
parent f4570851c8
commit 47831fae15
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 = "http://neren.rets.paragonrels.com/rets/fnisrets.aspx/NEREN/login?rets-version=rets/1.7.2";
String loginUrl = "";
//Create a RetesSession with RetsHttpClient
RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion);
String username = "***REMOVED***";
String password = "B5R6PZ2KGN3eS5m7";
String username = "";
String password = "";
//Set method as GET or POST
session.setMethod("POST");