Get remote xml file

Hello,
I am new to php and would like to understand something better. There is this API I would like to use and on the API page, they list the following informaiton. Can anyone show me what the php is going to look like for this request?


 
URL
https://api.rapleaf.com/v2/abook
 
 
 
Example Request
 
POST /v2/abook HTTP/1.1
Host: api.rapleaf.com
Authorization: 0123456789abcdef
Content-Type: application/x-www-form-urlencoded
 
[EMAIL="login=dummy@gmail.com&password=12345"]login=dummy@gmail.com&password=12345[/EMAIL]