When calling any Drino request method (get, post, put, etc.) with a full absolute URL, Drino throws:
drino.post('https://example.com/api/v4/projects', { name: 'test' }).consume(); => DrinoUrlException: Invalid URL: ''
But using an instance works:
const api = drino.create({ baseUrl: 'https://example.com/api/v4' });
api.post('/projects', { name: 'test' }).consume(); => OK
Expected:
All methods (get, post, put, delete, etc.) should work with absolute URLs when using the default Drino client.
Version: drino 2.0.0