GET
또는 POST
메서드를 사용하여 DCS API 로 데이터를 보냅니다.
GET
또는 POST
메서드 중 하나를 사용하여 DCS에 데이터를 보낼 수 있습니다. curl을 사용하여 아래의 샘플 호출을 살펴보십시오. 세 개의 샘플 호출 모두에서 신호 c_likes = famous popstar
및 c_loves = famous actress
를 장치 프로필 12345678901234567890123456789012345678
에 추가하고 있습니다.
GET
호출에 대해 허용되는 최대 크기는 8K입니다.
curl -i "yourcompany.demdex.net/event?d_uuid=12345678901234567890123456789012345678&d_rtbd=json&c_likes=famous%20popstar&c_loves=famous%20actress"
POST
메서드를 사용하여 데이터를 전송하기 위한 요구 사항을 확인합니다.
application/x-www-form-urlencoded
(으)로 설정합니다.curl -X POST \
https://yourcompany.demdex.net/event \
-H 'content-type: application/x-www-form-urlencoded' \
-d 'c_likes=famous%20popstar&c_loves=famous%20actress&d_uuid=12345678901234567890123456789012345678'