i can't access http://localhost:5600/api/0/query/

You need to set the cors_origins configuration option in the aw-server config: Configuration

So if your widget is running on http://localhost:9999 you’d write cors_origins = "http://localhost:9999" in the config file.