sending a graphql query from the browser

I have the following graphql query which I can execute from my test environment and get the results

"query": "{Orders(userId: \"user1\"){name}}"

I want to execute this query from the browser, so far I have tried

https://url/orders?query={Orders(userId: "user1"){name}}

My graphql server is deployed on AWS API (Lambda). However this query does not seem to go across to my method. Any ideas, suggestions anyone?