使用 services module 放回的数据 多了一行

Events happening in the community are now at Drupal community events on www.drupal.org.
wow.che's picture

使用services module 开启的reset风格 接受和返回数据都是用json格式
现在能正确访问,返回的数据都
如下

public 'data' => string '
[1]' (length=74)
public 'protocol' => string 'HTTP/1.1' (length=8)
public 'status_message' => string 'OK' (length=2)

其实我返回的json数据只有[1].

哪位drupal 知道怎么回事麻烦给个解答

不胜感激

Bei Jing (China)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: