gitea-github-sync/tests/github-issue-comment-created.py

8 lines
228 B
Python

import requests
import json
with open("data/github-issue-comment-created.json", "r") as file:
data = json.loads(file.read())
r = requests.post("http://127.0.0.1:5000/bridge/endpoints/github/issue", json=data)
print(r.text)