Uti antibiotics

I have the worst time swollowing pills and with me being sick right now i can get them to go down. Im currently suffering from a uti and i continuously throw up the meds. I remember a while ago they had liquid medicine to treat uti but would i be able to take it being im pregnant?