Priority Web SDK vs REST API

风流意气都作罢 提交于 2019-12-10 23:30:12

问题


When developing a website using Priority's new tools, in which cases would I be better served accessing Priority using the Web SDK than by using the REST API?

How about vice-versa?


回答1:


It depends on you needs. REST API is mostly used to integrate with other applications while WEB SDK is used for building stand-alone applications.

You may of course use them both in the same app.

There are some technical differences:

  1. REST API executes triggers at a row level while WEB SDK executes triggers at a field level.
  2. REST API has no support for procedures and choose/search lists while the WEB SDK does.

I would recommend using the REST API for large data retrievals and the WEB SDK for smaller request.



来源:https://stackoverflow.com/questions/44636898/priority-web-sdk-vs-rest-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!