Api url fix

Verified working on another machine, okay to bring into master