The POST action of config.xml to /computer on 'master' node doesn't work.
If I go to "/computer/(master)/api" page, it says that the config.xml can be fetched and updated but it doesn't work that way.
I just took a look at the code and it looks like the "replaceBy(Node newNode)" function on "core/src/main/java/hudson/model/Computer.java" uses the "getNodes()" function defined in "core/src/main/java/jenkins/model/Jenkins.java" which returns only the slaves and NOT the master. Is it an expected behavior? Shouldn't we be able to POST config.xml to master node? It has a lot of options that can be customized and posting the config.xml will help greatly.