-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoint "/v1/commands/network/create empty" fails with "application/xml" (offered in Swagger) #55
Comments
Try replacing your spaces with %20 Spaces are usually handled automatically within web browsers, but not so in the console. I can confirm the following works on my setup:
|
Jumping in here ... @krassowski: Thanks for all of your excellent help. We
are getting lots of valuable feedback.
Barry Demchak -- from my mobile phone
On Feb 27, 2018 11:43 AM, "krassowski" <notifications@github.com> wrote:
I am sorry but I think that you are wrong. It's not a space or curl issue -
no duplicates here ;)
Please have a look at my recording (25 sec):
[image: ezgif-2-1936c52ce1]
<https://user-images.githubusercontent.com/5832902/36744749-daedebf8-1bed-11e8-9133-09838d14e541.gif>
Also your confirmation shows curl with application/json, not with
application/xml.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADhl3m1xF0xreMKxOz-tZQwv-zG9F2E4ks5tZD7CgaJpZM4SUtxL>
.
|
Ah, I missed the detail of 'Content-Type: application/xml' specification. Thanks for being insistent. I'll take a look and see if I can disable xml content type for the Swagger documentation. |
Addressed in 87063b3 Awaiting release. |
Here is the generated curl command:
And here is the error:
It works fine with "application/json".
The text was updated successfully, but these errors were encountered: