Fix bugs of 405 error

Fix bugs of 405 error when connect to iComet server