# Get remote xml file

**URL:** <https://forum.kirupa.com/t/get-remote-xml-file/252741>\
**Category:** Uncategorized\
**Created:** [February 22, 2008, 11:28pm UTC](https://forum.kirupa.com/t/get-remote-xml-file/252741 "2008-02-22T23:28:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![petermdenton](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@petermdenton](https://forum.kirupa.com/u/petermdenton)\
**Post date:** [February 22, 2008, 11:28pm UTC](https://forum.kirupa.com/t/get-remote-xml-file/252741/1 "2008-02-22T23:28:21Z")

</div>

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?

```auto

 
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]
 

```
