Open VaclavK opened 5 years ago
Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).
@VaclavK what test client are you using? Is there specific documentation you are referencing?
@ryanmajidi this is weird. There used to be a test/try it out client embedded within the REST reference on MSDN e.g. https://docs.microsoft.com/en-us/rest/api/keyvault/getdeletedsecret/getdeletedsecret
I do not not see the "try it out" button anymore so if this feature was indeed removed, this ticket is no longer applicable.
ultimately the client allowed consumer to see sample requests/response payloads but given the nature of the KV REST the URL was generated on the fly when given the key vault name. For the REST method mentioned above, the url was not being generated correctly in this embedded client and pointed back to docs.microsoft.com, which is not valid REST URL for KV
Describe the bug wrong url is generated by the test client
e.g.
GET https://docs.microsoft.com/en-us/rest/api/keyvault/getdeletedsecret/%7BvaultBaseUrl%7D/deletedsecrets/%7Bsecret-name%7D?api-version=7.0
To Reproduce attempt to use the test ("try it out") client for keyvault get deleted secret, it will attempt to call wrong url - resulting in 404
Expected behavior correct rest call
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.