Create a signature for a Google Maps request URL or url string.
const signature = createSignature("https://example.com/some-path?foo=bar", "secret"); Copy
const signature = createSignature("https://example.com/some-path?foo=bar", "secret");
The URL to sign.
The secret to use for signing.
The signature of the signed url.
Create a signature for a Google Maps request URL or url string.