changed the request method from GET to POST