I need this code converted into PHP.
This code needs to interface with the [login to view URL] API ([login to view URL])
The purpose of the code is to create and/or update a subscriber in my database.
Here is the code snippet:
curl -X POST "[login to view URL]" \
-H 'User-Agent: Your App Name ([login to view URL])' \
-u YOUR_API_KEY: \
-d @- << EOF
{
"subscribers": [{
"email": "john@[login to view URL]",
"time_zone": "America/Los_Angeles",
"custom_fields": {
"name": "John Doe"
}
}]
}
In addition to the code above, I also need to add multiple tags to the code. The tags I need to add are:
Game Making Mania
Source: Enrolment Form
Please refer to the documentation for how to add tags.
I need this completed ASAP, within the next 2 hours.
It should be a completed PHP script which can be executed. I need you to create your own test account at [login to view URL] to test it, as I cannot give you my login credentials for security reasons.
Okay sir done, I will convert it to PHP script to update your database through API. Will start work now and try to complete in next few hours. -regards
Relevant Skills and Experience
PHP , Curl .
I'm work in Microsoft and I'm ex- STUDENT of IIT Delhi (Indian Institute of technology). I have a experience of 3years in this field and I know how to work on this field and I'm perfect in this field don't look at bid/price we will discuss on it later.