From 99d0b01a24014894d83bd3bfd9d12e101b44a3b6 Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Thu, 24 Sep 2020 23:00:37 +0200 Subject: [PATCH] Update example.html --- example.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example.html b/example.html index 80bf081..c8e21d0 100644 --- a/example.html +++ b/example.html @@ -30,8 +30,8 @@ $('#chart-container').append('') // make a request to a SAS service var type = $("#cars")[0].options[$("#cars")[0].selectedIndex].value; - // request data from an endpoint under your appLoc - sasJs.request("/common/getdata", { + // request data from an endpoint under your appLoc (missing opening slash implies relative path) + sasJs.request("common/getdata", { // send data as an array of objects - each object is one row fromjs: [{ type: type }] }).then((response) => {