javascript - 从 Javascript 执行curl?

标签 javascript curl

有没有办法从Javascript执行curl?谢谢。

最佳答案

不。您需要考虑使用 Ajax/XMLHttpRequest 来代替。 http://en.wikipedia.org/wiki/Ajax_%28programming%29

关于javascript - 从 Javascript 执行curl?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2804639/

相关文章:

javascript - 有一种方法可以通过 Prop 传递 Action 吗?使用 react-redux 制作可重用的组件

javascript - ExtJS:是否可以在网格面板中声明绑定(bind)的 if else 条件?

php - SSL 证书 - 第 3 方

php - Google Geo API(纬度 + 经度)

php - 不能在 cURL PHP 中使用 cookie

javascript - Breeze 使用 Angular $http 拦截器

javascript - PHP 到 HTML : Manage horizontal list with dynamic content

javascript - jquery/javascript 字符串中的撇号

linux - ubuntu中无法通过curl命令访问localhost?

ruby-on-rails - Pg 备份来自 Heroku 的 curl 最新转储