Search code examples
javaxmlgoogle-app-enginegoogle-cloud-endpoints

Google Cloud Endpoints: serve XML


Quick and easy question: is there a way to make Google Endpoints to serve XML file? I'm using the "Java way".

I tried issuing

curl -H "Accept: application/xml" http://localhost:8888/_ah/api/baclavgae/v1/categories

but it keeps serving me JSON.

Thank you!


Solution

  • No, Endpoints only supports JSON as the wire format, at the moment.