Server UTC time
GET
/utcTime
const url = 'http://localhost:80/PhantomService.svc/utcTime';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:80/PhantomService.svc/utcTimeReturns the server clock as a Unix timestamp.
Responses
Section titled “Responses”Seconds since the Unix epoch.
Media typeapplication/json
integer
Examplegenerated
1