REST API Error 301

I try to create a new bucket using API REST and Node Js using this code

But when I execute this, I got error 301:

For information, I request on port 9191 because my vagrant redirect port 8091 to 9191.

Does anyone have an idea to resolve my problem :slight_smile:

How did you remap the port? The documentation have section “User-defined Ports” about it:

Hey @florian_duflot,

Can you perhaps record what the redirection address was? Additionally, is the node you are sending the request to (localhost:9191) fully set up? IE: Have you gone through the setup phase on that node?

Cheers, Brett