use the 'solve_url' api in example.py
move example to root dir