Incorrect HTTP method for URI

Hi guys,

PUT /<my-index-{now/d}>

PUT /%3Cmy-index-%7Bnow%2Fd%7D%3E

I'm getting this error when I run the command above.

{
  "error" : "Incorrect HTTP method for uri [/%3Cmy-index-%7Bnow/d%7D%3E?pretty=true] and method [PUT], allowed: [POST]",
  "status" : 405
}

anyone can help?

We aren't all guys :slight_smile:

Where are you running the put? I just copied into dev tools and ran without an issue.

Hi, I'm running in Kibana Dev Tools > Console..
My version is 8.1.1

Is it a bugs?

Yes, good catch! It looks like it will be fixed in the next release.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.