c++ ajax调用后台方法
<script>
$.ajax({
type: "Post",
url: "http://192.168.4.178:8400/api/sendmsg",
data: "{\"req_id\":25,\"to_id\":13,\"msg_content\":\"Hello World!\"}",
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function (data) {
alert("ok");
}
});
</script>
c++ 的.cpp文件怎么获取data的值?