|
fidxname := r.URL.Query().Get("archive-name") |
It looks like the method for dynamic index creation has an inconsistency with the API specification, while this program expects a query parameter the official implementation (and proxmoxbackupclient_go) requires it to be sent in the body as json.
Currently using the workaround to send both since PBS doesn't have an issue with undefined parameters in the query string
pmoxs3backuproxy/cmd/pmoxs3backuproxy/main.go
Line 667 in d24958e
It looks like the method for dynamic index creation has an inconsistency with the API specification, while this program expects a query parameter the official implementation (and proxmoxbackupclient_go) requires it to be sent in the body as json.
Currently using the workaround to send both since PBS doesn't have an issue with undefined parameters in the query string