DataSourceWithBackend - Set postResource method to POST (#59114)
Set postResource method to POST
This commit is contained in:
1 parent
08e87a217c
commit
4eed56193f
1 file changed
+1
-1
@@ -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}`,
|
||||
|
||||
Reference in new issue
Block a user