Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18011

Push data to dataset from Javascript/Typescript

$
0
0

Hello!

I've created a dashboard and a streaming dataset on https://app.powerbi.com/.  When I try to push data from C#/Python to that dataset it works perfectly, but if I try to use Typescript, it keeps giving me the 404 NOT FOUND, on the same streaming dataset push URL.

 

 public sendPowerBi(url: string, data: any) {

      return this.http
        .put(url, JSON.stringify(data), { headers: this.headers }).subscribe();
    }

where

this.headers = new Headers({
      'Content-Type': 'application/json',
    });

Here I don't have an access token.  Can you please give me a suggestion?


Viewing all articles
Browse latest Browse all 18011

Trending Articles