Create transform.py
Browse files- transform.py +13 -0
transform.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import requests
|
2 |
+
|
3 |
+
url = "https://api.prodia.com/v1/transform"
|
4 |
+
|
5 |
+
headers = {
|
6 |
+
"accept": "application/json",
|
7 |
+
"content-type": "application/json",
|
8 |
+
"X-Prodia-Key": "69e66898-010d-4cd1-9e22-090f73ad007b"
|
9 |
+
}
|
10 |
+
|
11 |
+
response = requests.post(url, headers=headers)
|
12 |
+
|
13 |
+
print(response.text)
|