google-app-engine - 在应用引擎上 curl

标签 google-app-engine curl

curl 可以用在 google app engine 上吗?

最佳答案

没有。要发出 HTTP 请求,您需要使用 urlfetch 服务。

App Engine 上的 urllib、urllib2 和 httplib 已修补以透明地为您使用此 API,因此任何使用这些标准模块之一执行 HTTP 请求的第三方模块都可以工作。

cURL 中的“c”是因为该库是用 C 编写的;其他语言(如 pycurl)中的 cURL 接口(interface)使用 libcurl 库,并且不能在 App Engine 上使用,因为不允许响应 C 扩展的模块。

关于google-app-engine - 在应用引擎上 curl ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2571627/

相关文章:

google-app-engine - 日志记录中的 protoPayload 与 jsonPayload

python - “requests.post”文件上传大文件 : (More than ~1. 5 MB):Python

php - 'put'方法无法读取REST请求数据

rest - 如何使用 curl 将包含元数据的文件上传到 jfrog artifactory

php - 如何使用 curl 和 php 发送 gziped xml 内容

javascript - 如何将 Chrome 扩展程序中保存的 Javascript 变量传递到 Google App Engine 应用程序?

java - 全文搜索是否支持无模式索引?

google-app-engine - 玩! + GAE + 文件上传

c++ - curl - PROTOCONNECT 属于什么超时

facebook - 使用用户名/密码以编程方式登录 Facebook