diff --git a/Attachments/AttachmentTest.cs b/Attachments/AttachmentTest.cs index 21a5b1e..0c6979a 100644 --- a/Attachments/AttachmentTest.cs +++ b/Attachments/AttachmentTest.cs @@ -43,7 +43,7 @@ namespace raven_integration d = new JObject(); d.login = UniqueName; d.password = UniqueName; - a = await Util.PostAsync("Auth", null, d.ToString()); + a = await Util.PostAsync("auth", null, d.ToString()); string downloadToken = a.ObjectResponse["data"]["dlt"].Value(); ////////////////////////////////////////// diff --git a/Authentication/Auth.cs b/Authentication/Auth.cs index 6877034..49bf475 100644 --- a/Authentication/Auth.cs +++ b/Authentication/Auth.cs @@ -6,7 +6,7 @@ using FluentAssertions; namespace raven_integration { - public class Auth + public class auth { /// /// @@ -25,7 +25,7 @@ namespace raven_integration dynamic d = new JObject(); d.login = "BOGUS"; d.password = "ACCOUNT"; - ApiResponse a = await Util.PostAsync("Auth", null, d.ToString()); + ApiResponse a = await Util.PostAsync("auth", null, d.ToString()); Util.ValidateErrorCodeResponse(a, 2003, 401); } diff --git a/CredRepo.cs b/CredRepo.cs index 2d6091d..f0b45d3 100644 --- a/CredRepo.cs +++ b/CredRepo.cs @@ -31,7 +31,7 @@ namespace raven_integration creds.login = login; creds.password = password; - ApiResponse a = await Util.PostAsync("Auth", null, creds.ToString()); + ApiResponse a = await Util.PostAsync("auth", null, creds.ToString()); //Put this in when having concurrency issue during auth and old style dl token creation during login // ValidateDataReturnResponseOk(a); diff --git a/User/UserCrud.cs b/User/UserCrud.cs index ec47f04..8bfcde9 100644 --- a/User/UserCrud.cs +++ b/User/UserCrud.cs @@ -184,7 +184,7 @@ namespace raven_integration dynamic DCreds = new JObject(); DCreds.password = d.password; DCreds.login = d.login; - a = await Util.PostAsync("Auth", null, DCreds.ToString()); + a = await Util.PostAsync("auth", null, DCreds.ToString()); Util.ValidateDataReturnResponseOk(a); //GET user (login changed concurrency token above) @@ -204,7 +204,7 @@ namespace raven_integration //dynamic DCreds = new JObject(); DCreds.password = NewPassword; // DCreds.login = d.login; - a = await Util.PostAsync("Auth", null, DCreds.ToString()); + a = await Util.PostAsync("auth", null, DCreds.ToString()); Util.ValidateDataReturnResponseOk(a); } diff --git a/User/UserInactive.cs b/User/UserInactive.cs index 94e5db1..7f41241 100644 --- a/User/UserInactive.cs +++ b/User/UserInactive.cs @@ -15,7 +15,7 @@ namespace raven_integration { dynamic DCreds = new JObject(); DCreds.password = DCreds.login = "TEST_INACTIVE"; - ApiResponse a = await Util.PostAsync("Auth", null, DCreds.ToString()); + ApiResponse a = await Util.PostAsync("auth", null, DCreds.ToString()); Util.ValidateErrorCodeResponse(a,2003, 401); } diff --git a/util.cs b/util.cs index b1c2655..a9de86c 100644 --- a/util.cs +++ b/util.cs @@ -96,7 +96,7 @@ namespace raven_integration // creds.login = login; // creds.password = password; - // ApiResponse a = await Util.PostAsync("Auth", null, creds.ToString()); + // ApiResponse a = await Util.PostAsync("auth", null, creds.ToString()); // //Put this in when having concurrency issue during auth and old style dl token creation during login // ValidateDataReturnResponseOk(a);