diff --git a/index.html b/index.html index a8595d8..0ab08e6 100644 --- a/index.html +++ b/index.html @@ -111,7 +111,10 @@ getTrainPlan(){ var that = this - fetch(`https://www.tall.wiki/gateway/sports/training/get?projectId=${this.projectId}`, {method: 'post'}) + let queryStringRequest = new Request(`https://www.tall.wiki/gateway/sports/training/get?projectId=${this.projectId}`, { + method: 'post' +}) + fetch(queryStringRequest) .then(function(response) { return response.json(); })