make data as a variable to pass to make request