Skip to content

Instantly share code, notes, and snippets.

@zac260103
Last active January 2, 2018 08:28
Show Gist options
  • Save zac260103/43cbb36e3d15db96bbe114a15991a1ed to your computer and use it in GitHub Desktop.
Save zac260103/43cbb36e3d15db96bbe114a15991a1ed to your computer and use it in GitHub Desktop.
JSONObject server = new JSONObject();
server.put("osPlatform", osPlatform);
server.put("name", name);
server.put("size", size);
server.put("identifier", identifier);
server.put("department", department);
server.put("description", description);
server.put("availabilityStartDate", availabilityStartDate);
server.put("availabilityEndDate", availabilityEndDate);
server.put("createdBy", createdby);
server.put("modifiedBy", modifiedby);
server.put("supportBy", supportBy);
server.put("supportNumber", supportNumber);
server.put("supportEmail", supportEmail);
server.put("ssoFactors", ssoFactors);
server.put("redirectUris", redirectUris);
server.put("applicationVersion", applicationVersion);
server.put("applicationURL", applicationUrl);
server.put("imageURL", imageUrl);
System.out.println(server.toString());
HttpEntity<?> requestheader = new HttpEntity<Object>(server.toString(), headers);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment