wix-fetch与wix-http-functions [英] wix-fetch vs wix-http-functions
本文介绍了wix-fetch与wix-http-functions的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用REST API中公开的SQL Server数据库中的数据.我不明白使用wix-fetch或wix-http-functions有什么区别.似乎有了它们,我都可以执行相同的操作.哪个是最好的选择?阿图罗
I need to work with data from a SQL Server DB, exposed in a REST API. I don't understand what are the differences if I use wix-fetch or wix-http-functions. It seems that with any of them I could do the same operations. Which is the best option? Arturo
推荐答案
实际上,wix-fetch和wix-http-functions完全不同,并且在某些方面是相反的.
Actually, wix-fetch and wix-http-functions are quite different, and in some ways opposites.
- wix-fetch:用于消耗其他人公开的API.
- wix-http-functions:用于公开您自己的API供其他人使用.
(您可能希望使用wix-fetch处理来自公开REST API的SQL Server中的数据.)
(You probably want to use wix-fetch to work with data from an SQL Server that exposes a REST API.)
这篇关于wix-fetch与wix-http-functions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文