We have provided a few code examples here below.
Code examples
Javascript with graphql-request