[#1262] fix how url field is handled
[1262] use logic instead of requests