Send json in HTTP POST request by CURL php

A simple post operation by php curl. And send some json data.