Forum Discussion
jelleschuurman
2 years agoHelper I
API connection with headers renewing online? (Dyflexis)
Hi, I'm creating a report based on Dyflexis. to get data I have to connect to an API. The API requires this headers: Content-Type: application/json
Accept: application/json
Authorization: Token ...
jelleschuurman
2 years agoHelper I
The xxxxx is our organisationname, static.
When I remove the questionmark, I get this error:
DataSource.Error: Web.Contents failed to get contents from 'https://app.planning.nu/xxxxx/api/business/v3/scheduled$count=true&$top=0' (404): Not Found
Details:
DataSourceKind=Web
DataSourcePath=https://app.planning.nu/xxxxx/api/business/v3/scheduled$count=true&$top=0
Url=https://app.planning.nu/xxxxx/api/business/v3/scheduled$count=true&$top=0
lbendlin
2 years agoSuper User
Show the Power Query code. Make sure to use both RelativePath and Query.