mirror of https://github.com/grafana/grafana.git
35 lines
890 B
Markdown
35 lines
890 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "BackendSrvRequest"
|
|
keywords = ["grafana","documentation","sdk","@grafana/runtime"]
|
|
type = "docs"
|
|
draft = true
|
|
+++
|
|
|
|
## BackendSrvRequest type
|
|
|
|
### BackendSrvRequest type
|
|
|
|
Currently implemented with: https://docs.angularjs.org/api/ng/service/$http\#usage but that will likely change in the future
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export declare type BackendSrvRequest = {
|
|
url: string;
|
|
retry?: number;
|
|
headers?: any;
|
|
method?: string;
|
|
showSuccessAlert?: boolean;
|
|
requestId?: string;
|
|
[key: string]: any;
|
|
};
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { BackendSrvRequest } from '@grafana/runtime';
|
|
```
|