curlコマンドにセッションID(cookie)を指定する方法

やりたいこと

やったこと

curl --cookie "PHPSESSID=XXXXX" --data "token=YYYYY" example.com/hoge.php