Loading...
The uniqueue id field to find original url
user redirected to original url
shortenRequest
url to be shortened
shortened url returned
const response = await fetch('/egov-url-shortening/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('/egov-url-shortening/shortener', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
text