import requests | |
import schemas | |
Feedback=schemas.feedback(Date="Mahmoud",Uid=12,text="Nasser") | |
print(Feedback) | |
response=requests.post(url="http://localhost:8000/req",data=Feedback) | |
print(response.json()) |
import requests | |
import schemas | |
Feedback=schemas.feedback(Date="Mahmoud",Uid=12,text="Nasser") | |
print(Feedback) | |
response=requests.post(url="http://localhost:8000/req",data=Feedback) | |
print(response.json()) |