DCS API方法 dcs-api-methods
使用DCS或API方法将数据发送到GET POST。
您可以使用DCS或GET方法之一将数据发送到POST。 使用curl查看下面的示例调用。 在所有三个示例调用中,我们将信号c_likes = famous popstar和c_loves = famous actress添加到设备配置文件12345678901234567890123456789012345678。
通过GET发送数据 send-data-via-get
请注意,GET调用允许的最大大小为8K。
curl -i "yourcompany.demdex.net/event?d_uuid=12345678901234567890123456789012345678&d_rtbd=json&c_likes=famous%20popstar&c_loves=famous%20actress"
            通过POST发送数据 send-data-via-post
请注意使用POST方法发送数据的要求:
- 允许的最大大小为32K。
 - 将内容类型设置为
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'
            recommendation-more-help
            
          de293fbf-b489-49b0-8daa-51ed303af695