uses real endpoints
fixes url encoding and uses real endpoints for getting media and db info