I need to create and download F5OS backup via API.
I checked the documentation I could find, but even I use content-type header as described (first time I see 2 Content-type headers at the HTTP header, but OK) but I keep getting this:
415 (Unsupported media type)<br><br><br><errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"><br> <error><br> <error-type>application</error-type><br> <error-tag>malformed-message</error-tag><br> <error-message>Unsupported media type: multipart/form-data; boundary=--------------------------821439130941430490548847 ; Should be one of: application/yang-data+json, application/yang-data+xml.</error-message><br> </error><br></errors>
Looke like Content-type: multipart/form-data is not supported even though the documentation guides me to use it. Anyone knows what to do with this?
@Zdenek - wondering if you ever figured out how to accomplish this?
If so - would be awesome to share your solution.
If not, perhaps I’ll be able to escalate this question?
F5OS does not allow to download backup when using /api, only when using /restconf. It is planned to be corrected, but who knows.. It’s bit annoying for us, we need to use port 443 and not 8888 and inability to download the file is breaking our workflow..
I will update our solution to work with files being sent from F5 device (as that should work).
So if you escalate/fix this, then you make it easier for other guys going to hit this one. So it’s up to you