I believe the issue isn’t Dgraph per se. It is in Ratel. See this image.
It tells me he is using Dev, which can have bugs. But also it tells me he is using SSL/TLS. This can cause CORS issues. Unless he is using TLS on Dgraph, he shouldn’t be using HTTPS.
@llooper-dev please, open the Browser console and share the logs there.
When Ratel says “Unsupported Content-type”. It also tells me that he might be using a Master build. Which has issues to run Ratel.
My suspect is that is Master build cuz there’s no version key e.g. "version":"v20.11.0" and this is a bug that should be solved by now (there is a ticket about it).
Cheers.