Simple flask api which will fetch random url/name from database