如上所述 Returning XML in response from Loopback Remote Method。 我试图在config.json中启用XML 但它给了我json远程方法的错误
This page contains the following errors:
error on line 21 at column 12: PCDATA invalid Char value 23
Below is a rendering of the page up to the first error.
0 37.77262899999999 -122.25185 true B ObjectID
知道为什么吗?
如何为某些远程方法返回XML,为其他方法返回JSON?在哪里设置远程方法的标头?