If I open a browser and go to http://UMP_IP/rest/version-info I get a response like this:
type Status report
message Not Found
description The requested resource is not available.
Why is that? When I am trying to run the maintenancemode.py script aginst the web services API I get a result of the 404 as well and the script fails. If anyone has any ideas why this would happen or how to fix?
Try this instead…
That should get you started.
Ok that does seems to work alot better. Now when I use that in my maintenancemode.py script I get this error:
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): tstnimump01DEBUG:urllib3.connectionpool:http://tstnimump01:80 "POST /rest/maintenance_mode/Domain/Development/tstnimbus01/add_schedule HTTP/1.1" 404 967DEBUG:root:The status code from the create mm schedule call was 404
But when I go to just the URL you gave me I do not get the 404 anymore. Any ideas?
Remove the "application.wadl” from your post, the wadl was just to show you the Rest interface.
Right I did not mean to include it. I removed it.
There are example requests in this document…
Thanks this allowed me to locate my issue, Thanks for the help.