I have problem about xml request at PYTHON. I need to send the url at below
it sends before & symbol
https://catalogonuevo.icerbrakes.com/Image/GetImage?idProducto=140376
img_src = "https://catalogonuevo.icerbrakes.com/Image/GetImage?idProducto=140376&pixelsX=462&logo=images%2FLogoIcerBrakes.jpg "
Want to send this complete url :
But it breaks after & symbol.
payload= "data[Product][pro_STOCK_CODE]=" + product_no + "&&" + "data[Product][pro_NAME]=" + name + "&&" + "data[Product][cat_ID]="+ ids +"&&" + "data[Image][0]=" + image
headers = {'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'}
response2 = requests.request("POST", url2, headers=headers, data=payload.encode('utf8'))