-
Notifications
You must be signed in to change notification settings - Fork 149
Wrong /v1/sys/capabilities-self HTTP method #103
Comments
Thanks for the catch @StyleT, should be a quick fix. |
@StyleT Vault-UI is using |
@djenriquez I've seen it in OS X app https://github.com/djenriquez/vault-ui/releases/download/2.1.0/Vault-UI-2.1.0-mac.zip Yesterday I've also noticed what you're saying. Let me check... |
Here is what I see: http://imgur.com/a/LSzrJ |
@djenriquez Looks like I've found the root cause. Try to add slash to the end of the server address. So specify |
Interesting. Thanks for digging out the root cause. I'll take a look at it, one quick solution would be to parse the URL before saving it in the localStorage so all trailing slashes and extra components are stripped away |
@msessa Also you can use https://www.npmjs.com/package/url-join to concat URLs. It will take care about slashes. |
Use POST instead of GET accordingly to the https://www.vaultproject.io/api/system/capabilities-self.html. Vault 0.7.0 returns 405 HTTP code
{"errors":["1 error occurred:\n\n* unsupported operation"]}
.The text was updated successfully, but these errors were encountered: