Use redirect API parameter instead of manually parsing response
temp: some ad-hoc testing files