Dashboards
Create / Update dashboard
POST /api/dashboards/db
What Grafana version are you using?
7.1.1
What datasource are you using?
elasticsearch
What did you do?
POST /api/dashboards/db
as in page https://grafana.com/docs/grafana/latest/http_api/dashboard/
Doing this creation(post) in postman and using Axios.
Axios post:
const options = { baseURL: GRAFANA_URL, headers: { "Content-Type": "application/json", Authorization:
Bearer ${BEARER_KEY}`
}
}
axios.post("/api/dashboards/db", data, options)`
What was the expected result?
Both created the dashboard with same dashboard configure.
What happened instead?
Both created the dashboard but Axios post does not working well like missing tags.