POST and GET work with frontend and backend