制定 REST API 调用
Formulating REST API call
这是我的查询字符串
https://api.meetup.com/2/open_events?country=us&state=ca&city=sanfrancisco&category=34&page=10&group_photo&sign=true&&sign=true
我无法成功访问 group_photo 资源。
In the docs 他们说:
group_photo
Returned when fields request parameter contains "group_photo".
Represents photo for the group hosting the event
我尝试将 group_photo
更改为 group_photo=true
,但这没有帮助。
fields: Request that additional fields (separated by commas) be
included in the output
和
group_photo: Returned when fields request parameter contains
"group_photo". Represents photo for the group hosting the event
所以你必须添加 fields=group_photo
并且你在上面给出的调用类似于:
https://api.meetup.com/2/open_events?country=us&state=ca&city=sanfrancisco&category=34&page=10&fields=group_photo&sign=true&sign=true
这是我的查询字符串
https://api.meetup.com/2/open_events?country=us&state=ca&city=sanfrancisco&category=34&page=10&group_photo&sign=true&&sign=true
我无法成功访问 group_photo 资源。
In the docs 他们说:
group_photo
Returned when fields request parameter contains "group_photo". Represents photo for the group hosting the event
我尝试将 group_photo
更改为 group_photo=true
,但这没有帮助。
fields: Request that additional fields (separated by commas) be included in the output
和
group_photo: Returned when fields request parameter contains "group_photo". Represents photo for the group hosting the event
所以你必须添加 fields=group_photo
并且你在上面给出的调用类似于:
https://api.meetup.com/2/open_events?country=us&state=ca&city=sanfrancisco&category=34&page=10&fields=group_photo&sign=true&sign=true