I want to access an API provided by Lymbix sentiment via PHP. The cURL command given is
curl -H "AUTHENTICATION:MY_API_KEY" \
-H "ACCEPT:application/json" \
-H "VERSION:2.1" \
http://gyrus.lymbix.com/tonalize \
-d "article=This is a sample sentence, does it make you happy? \
&return_fields=[]"
How would I run the above in PHP?
Thank you.