Hi Fan, Alright, then remove the trailing slash since it's not finding the resource anymore.
What is the problem exactly? Is the entity null? Is the media-type wrong? Have you run it through the debugger? Dustin On 07/16/2013 07:44 PM, Fan J wrote: > Hi Dustin, > > Adding an ending slash makes a difference - it complains 404 error(The server > has not found anything matching the request URI) instead of 400 error(Bad > request). I wonder if I need to make certain changes to my code above. Do you > have any ideas? > > Thanks, > Fan -- Dustin N. Jenkins | 250-363-3101 Dustin N. Jenkins | Tel/Tél: 250.363.3101 | dustin.jenk...@nrc-cnrc.gc.ca facsimile/télécopieur: (250) 363-0045 National Research Council Canada | 5071 West Saanich Rd, Victoria BC. V9E 2E7 Conseil national de recherches Canada | 5071, ch. West Saanich, Victoria (C.-B) V9E 2E7 Government of Canada | Gouvernement du Canada ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3060674