Read contract file and endpoint request