rest - Using HTTP POST to query a Database -
can use rest http post query database, designing rest api service. confusion whether use get or post. want pass parameter query thinking use post. reading on net found get should used if there read access , post should used when create on server side
if want render information based on identifier should through get.
basically crud treated rest assigning dedicated http methods follows:
create => post read => update => put delete => delete if using post getting read information there's no harm violating rest principle
Comments
Post a Comment