Hi,
I'm trying to snapshot restore using a repository. This is the command i am running:
PUT -u user:password /_snapshot/my_backup/snapshot_20181011
and I'm getting this error (in dev tools kibana):
{
"error": "Content-Type header [text/plain] is not supported",
"status": 406
}
I've tried variations such as
PUT -u user:password /_snapshot/my_backup/snapshot_20190308 -H 'Content-Type: application/json' -d
but i get exactly the same error.
Can someone help me with this?
Thank you!