Skip to content
Snippets Groups Projects
Commit 1271f9d7 authored by Cameron Sparr's avatar Cameron Sparr
Browse files

jolokia input: add note about POST permissions

closes #1628
parent 49ea4e9f
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ type Jolokia struct {
const sampleConfig = `
## This is the context root used to compose the jolokia url
## NOTE that your jolokia security policy must allow for POST requests.
context = "/jolokia"
## This specifies the mode used
......@@ -104,7 +105,6 @@ func (j *Jolokia) Description() string {
}
func (j *Jolokia) doRequest(req *http.Request) (map[string]interface{}, error) {
resp, err := j.jClient.MakeRequest(req)
if err != nil {
return nil, err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment