how to consume rest api of apache nutch docker

2019-08-14 20:07发布

问题:

I pulled and started apache nutch docker started it with

docker run --name my_nutch -d -p 8899:8899 -e SOLRURL=192.168.99.100:8983 -t meabed/nutch

any action I try to consume (according to their rest api) - I get 404 for example

192.168.99.100:8899/admin

tried also

GET http://192.168.99.100:8899/nutch/#/admin

I get in postman (for all GET REST requests, POST I get 404)

[
  [
    "admin",
    "Service admin actions"
  ],
  [
    "confs",
    "Configuration manager"
  ],
  [
    "db",
    "DB data streaming"
  ],
  [
    "jobs",
    "Job manager"
  ]
]