Fetch Nebula Graph Database Using Fetch in JavaScript

I deployed my Nebula Graph using Docker, now I’m trying to connect to the database using fetch in JavaScript but it keeps showing me “Failed to Fetch”:

By the way, is there a windows approach for running the “nebula-http-gateway” makefile?

@jerry.liang could you kindly help take a look at this on JS: FETCH?

By the way, is there a windows approach for running the “nebula-http-gateway” makefile?

Sorry, we didn’t test this before, is it possible to use WSL or WSL2 on this?

Hi,
For your first question, maybe you need to provide more information:

  • nebula graph version
  • nebula http gateway version
    you can check if they are using the right versions mapping relationship

How to use in windows? Here is the gateway source code :https://github.com/vesoft-inc/nebula-http-gateway you can compile & use it. If there still any problems, we can discuss here🤝