use curl correctly - aka test before updating docs