How can I, with the HTTP POST method to send to an external server my carts information?

Hello everyone I have created a store with Wix and I would like to know if there is a way to use the HTTP POST method and when my sites customer clicks on the checkout button to send the information of his/her cart to a url. Thank you!