new clients should take a base URL
Closed, InvalidPublic



The methods to create a new client and new dev client currently use hard coded URLs for api calls. There should be only one method which should take a parameter for base URL


Previously there was only and We are now using some other development test servers and soon will support custom instances.


  • NewDevClient should be removed
  • NewClient and NewTorClient should take an additional parameter baseURL
  • tests should be updated to pass a dev server URL when creating clients for test purposes,

Event Timeline

robjloranger created this task.

This is required to test the fix for T612 on the WriteFreely side

this is already implemented as NewClientWith