convert chrome-generated curl commands to native http methods of other languages