added construct request method for adding appropriate headers for each request method