Line Notify 대신 LIne Bot에 주기적으로 사진 전송 역할 위임
occidere opened this issue · comments
Sungjun Lee commented
Line Notify 대신 LIne Bot에 주기적으로 사진 전송 역할 위임
상황
AS-IS
- 현재는 Line Notify API 로 자기 자신에게 주기적으로 이미지를 전송
TO-BE
- Line Bot이 주기적으로 DailyOMG 계정을 통해 주기적으로 이미지 전송
- 이미지 요청을 유지로 부터 받아 전송하는 역할도 수행
Sungjun Lee commented
feature/callLineBot
Sungjun Lee commented
참고
curl -XPOST 'https://daily-omg.herokuapp.com/push/image' \
-H 'Content-Type: application/json' \
-d '[{"Red Velvet": "https://socdn.smtown.com/upload/mf/gallery/images/2018/08/06/o_1ck6i5unrpu81u421vs8shjpv11i.jpg"}]'
의문점
- 왜 굳이 image url도 https 여야 하는지?