Get base64 from fileUrl

get base64 from fileUrl that hasn’t any extention-type …

any suggestion please ?

thanks in advance