Priority Web SDK vs REST API

2019-07-12 19:21发布

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条回答
够拽才男人
2楼-- · 2019-07-12 20:00

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.

查看更多
登录 后发表回答