Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 311 Bytes

LEGACY.md

File metadata and controls

15 lines (13 loc) · 311 Bytes

Authorizing with the legacy API

const clientId = "ABCD";

fetch("https://app.navotar.com/api/Login/GetClientSecretToken", {
  method: "POST",
  body: JSON.stringify({
    ClientId: clientId,
    ConsumerType: "Admin,Basic",
  }),
}).then(function (response) {
  return response.json();
});