python으로 보낸 데이터 php로 받기 인터넷에서 python에서 데이타를 보내는 예제를 많이 찾아 볼 수 있다. 하지만 문제는 파이썬3.x버전에서는 사용해야 하는 모듈이 인터넷에 나온 기존 예제와 다르다는 것이다. 또한 데이타베이스에 저장을 하는 것이 아닌 쿠키를 생성함으로써 데이타가 잘 전송되는지 알아보려고 하는 실수 때문에 시간이 오래 걸렸다. 작동되는 코드는 다음과 같이 간단하다. import requestsuserdata = {"firstname": 'frompython', "lastname": "Doe", "password": "jdoe123"}resp = requests.post('http://localhost/test/testing.php', data=userdata)print(resp..