In Excel VBA, I am using xmlhttp to automate Internet Explorer. I am trying to delete an item from the cart. It is the only item in the cart. The name in the name/value pair is an element in an array. I do not know what the index number of this element is. I have looked at the web page source code and I do not see what the number is. Also this is a checkbox, so I'm not sure if I need a different/extra name/value pair. How can I successfully delete the item from the cart with xmlhttp?
xmlhttp.Open "POST", "http://www.cricutmachine.com/shopping_cart.php?action=update_product", False
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.send "cart_delete[]=324" '324 is the product number of the item that is in the cart
Bookmarks