Asana task API not working

I am running following command:
curl -u '{token}': https://app.asana.com/api/1.0/tasks?workspace={workspace_id}&assignee=me
It is returning me {"errors":[{"message":"Must specify exactly one of project, tag, section, user task list, or assignee + workspace","help":"For more information on API status codes and how to handle them, read the docs on errors: https://asana.com/developers/documentation/getting-started/errors"}]}

I am providing workspace and assignee, still it is failing. It used to work earlier. Could anyone help?

Hi @Amit_Gupta and welcome to the forum,

That’s not a CURL syntax I’ve seen used before for Asana queries. Can you try using a syntax like the one shown here: