mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 08:16:59 -06:00
DataSourceWithBackend - Set postResource method to POST (#59114)
Set postResource method to POST
This commit is contained in:
parent
08e87a217c
commit
4eed56193f
@ -299,7 +299,7 @@ class DataSourceWithBackend<
|
||||
const result = await lastValueFrom(
|
||||
getBackendSrv().fetch<T>({
|
||||
...options,
|
||||
method: 'GET',
|
||||
method: 'POST',
|
||||
headers: options?.headers ? { ...options.headers, ...headers } : headers,
|
||||
data: data ?? { ...data },
|
||||
url: `/api/datasources/${this.id}/resources/${path}`,
|
||||
|
Loading…
Reference in New Issue
Block a user