Skip to content

Commit e38dc1e

Browse files
committed
Updated documentation for PUT/PATCH/DELETE methods
1 parent 5952f96 commit e38dc1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- ALL-CONTRIBUTORS-BADGE:END -->
77

88
It provides a simple Grafana 7.x panel that shows only one button - to integrate with any kind of HTTP/REST API:
9-
* Support `GET` and `POST` HTTP verb
9+
* Support `GET`, `POST`, `PUT`, `PATCH`, `DELETE` HTTP verb
1010
* Adds no new javascript dependencies
1111
* Uses standard browser APIs and respects CORS
1212
* Optional text payload for `POST` requests via syntax-highlighiting editor
@@ -38,7 +38,7 @@ Due to the Grafana API & security restrictions in modern browsers the following
3838
* Neither username nor password are stored encryted in Grafana.
3939
The password is there to everyone with access to the dashboard in Grafana!
4040
* The *server* at the URL _must_ provide proper resposne to the [CORS pre-flight request](https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request). That is:
41-
* Provide a proper response to the `OPTIONS` request performed by the browser before the actual `GET`/`POST` requiest is issued
41+
* Provide a proper response to the `OPTIONS` request performed by the browser before the actual `GET`/`POST`/`PUT`/`PATCH`/`DELETE` request is issued
4242
* Provide a [`Access-Control-Allow-Credentials: true`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials) header
4343
* Provide a proper [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) header.
4444
_No wildcards_ are allowed if credentials are used!

0 commit comments

Comments
 (0)