Create synchronism GET method and POST method.