tanvirraj
5/27/2017 - 8:16 PM

aliexpres.py

# using python request lib 
import requests
r = requests.post("http://81.4.124.196:8080/", json={'url': 'https://www.aliexpress.com/item/Wooden-Toys-Thomas-Train-Car-Magnetic-Thomas-And-Friends-Wooden-Model-Train-Kids-Toys-Car/32760106941.html'})
print(r.text)



# or using curl in command line 
curl -H "Content-Type: application/json" -X POST -d '{"url":"https://www.aliexpress.com/item/Wooden-Toys-Thomas-Train-Car-Magnetic-Thomas-And-Friends-Wooden-Model-Train-Kids-Toys-Car/32760106941.html"}' http://81.4.124.196:8080/