Every API call requires an XSRF token for authentication. You include the XSRF token in the call header.
Method
GET
URL
https://localhost/Flowtime/_vti_bin/Flowtime/XsrfTokenService.svc/GetXsrfToken
Example Request
$.ajax({
type: "GET",
url: "https://server:port/Flowtime/_vti_bin/Flowtime/XsrfTokenService.svc/GetXsrfToken",
contentType: "application/json; charset=utf-8",
dataType: "json",
cache: false,
async: false,
});