Get and Post request method