E-commerce API Authentication
base64(username:password)curl --location --request POST 'https://api.webit.live/api/v1/realtime/ecommerce' \
--header 'Authorization: Basic dXNlckBuaW1ibGV3YXkuY29tOnBhc3MxMjM=' \
--header 'Content-Type: application/json' \
--data-raw '{
// add your parameters here
}'import requests
url = 'https://api.webit.live/api/v1/realtime/ecommerce'
headers = {
'Authorization': 'Basic dXNlckBuaW1ibGV3YXkuY29tOnBhc3MxMjM=',
'Content-Type': 'application/json'
}
data = {
# Add your parameters here
}
response = requests.post(url, headers=headers, json=data)
print(response.status_code)
print(response.json())Last updated
