这个蓝图资源给我带来了问题。
#Group Data Ingress
## Inbound SMS [/api/v1/inboundSMS{?number,message,key}]
### Receive [GET]
+ Request
+ Parameters
+ number (int) ... The number the sms originated from
+ message (string) ... The message content
+ key (string) ... The inbound authentication key as defined in the application configuration
+ Response 200 (text/plain)
+ Body
OK
如您所见,它是一个简单的获取请求,即http://my-host.com/api/v1/inboundSMS?number=123&message=hello%20world&key=SECRETKEY
但是,我从 apiary.io 收到错误消息
Line: 543 (The request line) Empty request message-body.
Line: 545 (The parameters line) Ignoring unrecognized block.
因为它是一个 GET 请求,所以没有消息体,所以我不知道为什么它抱怨它丢失了。