Page 1 of 1

ASP - VBscript UUID Function Demo

Posted: Thu May 09, 2024 8:33 am
by admin
UUID Function Demo

This function returns a unique ID from the uuidgenerator.net API.

Click here to run the script: demo/uuid_demo.asp

Code: Select all

<% option Explicit %>

<%
response.write "This is a generated UUID: " & uuid
  
function uuid()
  Dim o
  Set o = CreateObject("MSXML2.XMLHTTP")
  o.open "GET", "https://www.uuidgenerator.net/api/version1", False
  o.send
  uuid = o.responseText
end function
%>