raannakasturi commited on
Commit
f313884
·
verified ·
1 Parent(s): aa30616

Update post_blog.py

Browse files
Files changed (1) hide show
  1. post_blog.py +1 -0
post_blog.py CHANGED
@@ -90,6 +90,7 @@ def post_post(title, category, body, image):
90
  "labels": [category, "ZZZZZZZZZ"]
91
  }
92
  data = requests.post(url, headers=headers, json=post_data).json()
 
93
  if data['status'] == 'LIVE':
94
  print(f"The post '{title}' is {data['status']}")
95
  return True
 
90
  "labels": [category, "ZZZZZZZZZ"]
91
  }
92
  data = requests.post(url, headers=headers, json=post_data).json()
93
+ print(data)
94
  if data['status'] == 'LIVE':
95
  print(f"The post '{title}' is {data['status']}")
96
  return True