viking_unet

photolab

May 19th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.53 KB | None | 0 0
  1. import requests
  2. from   pprint import pprint
  3.  
  4. res = requests.post("http://api-soft.photolab.me/photolab_steps_advanced.php",
  5.                     data = {'combo_id' : "3124589"},
  6.                     )
  7.  
  8. print(res)
  9. pprint(res.json())
  10.  
  11. res = requests.post("http://api-soft.photolab.me/template_process.php",
  12.                     data = {'image_url[1]'  : 'http://soft.photolab.me/samples/girl.jpg',
  13.                             'template_name' : "1668",
  14.                             },
  15.                     )
  16.  
  17. print(res)
  18. pprint(res.text)
Add Comment
Please, Sign In to add comment