Bot

문제가 뭔가요?

김성만

2019.09.20읽음 2164

, click : function(viewform) { 
   GF.ajax({   
     url : "https://apis.worksmobile.com/r/id/message/v1/bot/id/message/push"
    ,dataType: "json"
    ,type : "post"
    ,data: {
      accountId: "id@healthtoday.co.kr",
      type: "text",
      text: "hello"
    }
    
   }); 

오류메시지:

Access to XMLHttpRequest at 'https://apis.worksmobile.com/r/id/message/v1/bot/id/message/push' from origin 'http://htgw.healthtoday.co.kr' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

댓글0

이전 글Bot message callback의 accountId와 구성원 목록 조회의 email field가 같은 건가요?
다음 글그룹웨어에서 결재 의견 등록 시 라인웍스로 메시지를 보내고 싶습니다.
목록

궁금한 점을 해결하지 못하셨나요?
지금 바로 NAVER WORKS 사용자들에게 물어보세요!