Being a web developer you must need to know how to send data to API in PHP. We send data to web services using curl
Read this post on phpcluster.com