1
는 현재 '='기호가 오리온에서 금지 가입 페이로드에 사용되는 쿼리 문자열 :FIWARE 오리온 :
$ (curl broker.waziup.io/v1/subscribeContext -s -S --header 'Content-Type: application/json' \
--header 'Accept: application/json' --header 'Fiware-Service:waziup' --header 'Fiware-ServicePath:/TEST' -d @- | python -mjson.tool) <<EOF
{
"entities": [
{
"type": "SensingDevice",
"isPattern": "false",
"id": "Sensor1"
}
],
"attributes": [
"temperature"
],
"reference": "http://localhost/v1/sms/send?contact=0039&msg=Sensor1",
"duration": "P1M",
"notifyConditions": [
{
"type": "ONCHANGE",
"condValues": [
"temperature"
]
}
],
"throttling": "PT1S"
}
EOF
결과 : http://fiware-orion.readthedocs.io/en/1.5.0/user/forbidden_characters/index.html
는하지만이 쿼리 문자열에 가입을 할 수 없습니다 :
{
"subscribeError": {
"errorCode": {
"code": "400",
"details": "Illegal value for JSON field",
"reasonPhrase": "Bad Request"
}
}
}
쿼리 문자열은 매개 변수를 콜백 서버에 전달하는 데 사용됩니다 (다른 방법은 없습니다). 어쨌든 주위에?