Forum Discussion
As far as I know rest() and restadmin() are internally mapped calls to the rest api. http.client is your best bet, however it does have some oddities with filtering HTML (even if its escaped in the JSON) and its picky about JSON array formatting. Not sure about XML I don't think its supported.. (?)
Hello Chris Blown:
Thank you for your reply.
Your said means we should choose rest() and restadmin() to condense REST API Requests as a new rest api for our proxy?Is it high-performance enough?
The http.client object looks useful for site to site calling between lithium sites.And the rest() and restadmin() looks have more high-performance than the http.client object,since they are internally mapped calls to the rest api?Am I right?
And I got issue when using endpoint to develop new feature for our requirement,do you have any idea for it?
Thanks.
Related Content
- 10 years ago
- 4 years ago
- 13 years agoInactive User