[Tip] You may not need any library to query the GraphQL API
TLDR; The request needs to be sent using the POST method The query and variables need to be sent as a JSON object // sample query const query = ` query HeroNameAndFriends($episode: Episode) { hero(episode: $episode) { name...
![[Tip] You may not need any library to query the GraphQL API](https://cdn.hashnode.com/res/hashnode/image/upload/v1623313455611/T7GNWucu4.png)

![[Resolved] MongoDB Atlas line-break issue](https://cdn.hashnode.com/res/hashnode/image/upload/v1623161592872/SeljvQ06b.png)