Create CurlRestMethod