Skip to content

Commit 4eed561

Browse files
authored
DataSourceWithBackend - Set postResource method to POST (grafana#59114)
Set postResource method to POST
1 parent 08e87a2 commit 4eed561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grafana-runtime/src/utils/DataSourceWithBackend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ class DataSourceWithBackend<
299299
const result = await lastValueFrom(
300300
getBackendSrv().fetch<T>({
301301
...options,
302-
method: 'GET',
302+
method: 'POST',
303303
headers: options?.headers ? { ...options.headers, ...headers } : headers,
304304
data: data ?? { ...data },
305305
url: `/api/datasources/${this.id}/resources/${path}`,

0 commit comments

Comments
 (0)