Convert Curl Command To Code