POST and GET both implemented