如果我在我的localhost:12345/People?peopleId=405&age=24中键入URL,它可以正常工作;但是,当我将localhost:12345/People?peopleId=405传递到URL中时,它会返回一个404错误。404错误消息:
"No HTTP resource was found that matches the request URI'http://local
exception 'apiServiceException' with message 'Error calling GET https://www.googleapis.com/plus/v1/peoplealt=json&key=AIzaSyAgQl0UeNM553PfLnPmP0jTtcJ8ZIQ3q0g: (404) Not Found' in /var/www/html/preferans.de/go
我正在尝试编写一个RESTful API,该API部分地处理添加/删除人员的问题。我想得到/PUT/DELETE example.com/people/。对于索引方法和定义的函数,dispatcher的行为似乎完全不同: """This is the class for CherryPy that deals withCRUD on people"""