The following put request ought to have succeeded, but failed:
$ curl -XPUT -H "Accept: application/json" -u sdaley https://developers.redhat.com/download-manager/rest/admin/products -d '{"name":"API Test Product","homepage":"https://developers.redhat.com/products/rhoar","downloadpage":"https://developers.redhat.com/products/rhoar/download/","thankYouPage":"https://developers.redhat.com/products/rhoar/hello-world/?","productCode":"rhoar","eloquaCode":null,"thankYouTimeout":5}' Enter host password for user 'sdaley': <HTML><HEAD> <TITLE>Unsupported Request</TITLE> </HEAD><BODY> <H1>Unsupported Request</H1> PUT to http://developers.redhat.com/download-manager/rest/admin/products not supported.<P> Reference #8.4e240ac3.1518447283.12281862 </BODY></HTML>
Could the documented put and post requests be made available?
Also note: while this document lists the API endpoint as /download-manager/rest/administration/admin/, it is in fact /download-manager/rest/admin/. An update to the document would make this clearer.
https://mojo.redhat.com/docs/DOC-940689-redhat-developersjboss-download-manager-administration-ui