dont redirect, give url in json body instead