use synchronous attachData when passed a URL and there is no callback on the server