Last updated 1 year ago
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
OK
const response = await fetch('http://localhost:8080/egov-document-uploader/egov-du/document/_create', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "Documents": [ { "active": false, "auditDetails": { "createdBy": "text", "lastModifiedBy": "text" }, "category": "text", "description": "text", "documentLink": "text", "filestoreId": "text", "name": "text", "postedBy": "text", "tenantId": "text", "tenantIds": [ "text" ], "uuid": "text" } ] }
const response = await fetch('http://localhost:8080/egov-document-uploader/egov-du/document/_update', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('http://localhost:8080/egov-document-uploader/egov-du/document/_delete', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('http://localhost:8080/egov-document-uploader/egov-du/document/_search', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();