[PHP]use CURL method to do POST/GET request