i am using the auto generated restful web services codes from netbeans, and i am
testing the restful web service using advanced rest client in chrome and i am having the Sql Database,
i have tried to recieve all rows in the table using GET, and it is working successfully,
but when i tried "POST", OR "PUT" it gives me this error
</head><body><h1>HTTP Status 400 - Bad Request</h1><hr/><p><b>type</b> Status report</p><p><b>message</b>Bad Request</p><p><b>description</b>The request sent by the client was syntactically incorrect.</p><hr/><h3>GlassFish Server Open Source Edition 4.0 </h3></body></html>
can anybody help to identify what is wrong with the code