using rest with php using curl