make base json response return redirect url