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