快速简单的问题:有没有办法让 Google Endpoints 提供 XML 文件服务?我正在使用“Java 方式”。
我尝试发行
curl -H "Accept: application/xml" http://localhost:8888/_ah/api/baclavgae/v1/categories
但它一直为我提供 JSON。
谢谢!
最佳答案
不,Endpoints 目前仅支持 JSON 作为有线格式。
关于java - 谷歌云端点: serve XML,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16842032/