modify monitor and network REST api to use parameters in the URL