腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
使用
CURL
上传PHP文件
php
、
curl
我正在使用PHP上传文件从服务器s1到服务器s2我的代码是: $request =
curl
_init('http://myip/filepath/');
curl
_setopt($request, CURLOPT_POST, true); $request&
浏览 0
提问于2016-01-18
得票数 0
1
回答
如何从laravel 5.6中用post方法调用REST-API?
php
、
laravel
、
rest
、
php-curl
但是,当我试图通过、Laravel、、、
CURL
、等方法调用它时,会出现错误。"Payments":[{"PaymentRef":"S454873-J5","AmountPaid":50.00}]} $
curl
=
curl
_init(); CURLOPT_URL =&g
浏览 2
提问于2018-05-16
得票数 0
1
回答
无法打开CouchDB附件
curl
、
couchdb
、
attachment
、
binary-data
id": "Jan", "name": "Jan",我想上传一个pdf到这个文档,所以我给出以下
curl
命令:
curl
-vX PUT 'http://localhost:5984/categories/Jan/example.pdf?rev=4-2c0b1c27daca6d2a3c3
浏览 3
提问于2018-01-11
得票数 5
回答已采纳
1
回答
将
curl
命令转换为powershell
powershell
、
curl
我想要将生成masterkey的命令从
curl
转换为PowerShell,但我以前从未做过这样的事情。目标是访问一个ovea Api,但首先我必须生成一个masterkey。下面是
curl
命令(在centos和works上测试过):
curl
-L -H 'Content-Type: application/json' -H 'Authorization: Basic Yw": "User"} Invoke-RestMethod -Method Post -Uri htt
浏览 30
提问于2020-06-12
得票数 0
回答已采纳
1
回答
未能打开流:拒绝连接php
php
、
curl
、
https
我有像这样的http请求$data = array('email' => 'value1', 'password' => 'value2'); $options = array( 'he
浏览 1
提问于2020-05-26
得票数 1
2
回答
PHP
CURL
:不推荐使用@filename API上传文件
php
我收到一条消息: Deprecated:
curl
_setopt_array(): The usage of the @filename API for file uploading is deprecated
浏览 2
提问于2014-01-07
得票数 6
回答已采纳
1
回答
如何为
ContentType
指定
customBinding?
c#
、
soap
、
binding
、
contenttype
那么,如何将内容类型
指定
为"application/soap+xml“呢? 我可以在没有客户端的情况下用HttpWebRequest实现这一点,但这将是更多的工作.
浏览 4
提问于2017-04-26
得票数 0
回答已采纳
1
回答
curl
选项CURLOPT_POSTFIELDS如何直接获取XML?
php
、
xml
、
post
、
curl
、
field
当没有为value
指定
键时,是否使用默认键? $xml_file = '<?xml version="1.0" encoding="UTF-8"?$acceptlanguage = 'Accept-Language: en-us'; $he
浏览 2
提问于2011-11-07
得票数 0
回答已采纳
2
回答
curl
_setopt()在尝试在php中通过
curl
上传文件时抛出错误异常
php
、
curl
$filePath);
curl
_setopt($ch, CURLOPT_URL,$requestUrl);
curl
_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl
_setopt($ch, CURLOPT_RETURNTRANSFER, 1); <e
浏览 1
提问于2014-10-09
得票数 0
2
回答
如何发送带有-d参数的
curl
更新请求?
powershell
、
curl
、
box-api
我需要从powershell发送一个
curl
请求,使用寻求帮助(我正在查找名为Update User的部分,但我遇到了一些问题:
curl
https://api.box.com/2.0/users/11111At G:\IT\bassie\Box\GetUsers.ps1:5 char:1 +
curl
-H @{“授权”=.+~+ CategoryInfo : InvalidArgument:(:) Invoke-WebRequestAt G:\IT\bassie\Box\GetUse
浏览 12
提问于2018-01-29
得票数 1
回答已采纳
2
回答
Amazon Cloud Drive API -上传文件-形成PHP格式的预期输入
php
、
amazon-web-services
、
curl
、
httprequest
---------content ------------ 他们还补充说,
CURL
将跟随...'metadata={"name":$this->access_token); $ch =
curl
_init();
curl
_setopt
curl
_setopt($ch, CU
浏览 0
提问于2015-10-13
得票数 2
1
回答
命令行上的“`
curl
`”如何确定正在上载的文件的MIME类型?
command-line
、
curl
、
mime-types
在
curl
(例如,
curl
-F 'file=@path/to/file' https://example.org/upload)中将文件上传为表单字段时,
curl
设置MIME型的方式有时与其他确定MIME例如,在.bmp位图文件上,file -i path/to/file.bmp表示它是image/x-ms-bmp,但是
curl
将MIME类型设置为application/octet-stream,除非我显式地覆
浏览 0
提问于2017-10-05
得票数 3
回答已采纳
2
回答
将JSON转换为数组PHP时出错
php
、
json
、
string
function curlCall($url, $params = null, $
contentType
= 'application/json', $options = array()) {
curl
_setopt($
curl
, CURLOPT_FAILONERROR, true);
curl
_setopt($
curl
, CURLOPT_FOLLOWLOCATION$
contentT
浏览 2
提问于2015-07-18
得票数 0
回答已采纳
1
回答
PHP如何检查从
cURL
返回的数据类型?
php
、
curl
、
fopen
$success) {}$
curl
=
curl
_init();
curl
浏览 0
提问于2015-09-16
得票数 0
4
回答
XML响应中的错误是什么?
php
、
xml
、
ajax
、
rest
=
curl
_init();
curl
_setopt($this->
curl
,CURLOPT_FOLLOWLOCATION,true); // This too
浏览 0
提问于2011-09-13
得票数 0
回答已采纳
1
回答
如何在亚马逊云驱动器中上传文件?
php
、
amazon-web-services
、
curl
、
amazon-clouddrive
有人能帮我用
curl
格式化这个命令吗?上传文件连同其元数据信息一起上载文件内容。Content-Type: image/jpeg
cURL
请求:'metadata={"name":"testVide
浏览 1
提问于2016-05-29
得票数 2
2
回答
如何在不知道输入的总大小的情况下发送包含卷曲的多部分帖子
http
、
curl
、
libcurl
、
live-streaming
、
alexa-voice-service
curl
_formadd(&formpost,&lastptr,CURLFORM_COPYNAME,“音频”,CURLFORM_
CONTENTTYPE
,MULTI_PART_CONTENT_TYPE_AUDIOCURLFORM_STREAM,&*(ABufffer)), "CURLFORM_STREAM“的文档
指定
指定
我需要使用"CURLFORM_STREAM“,因为我的缓冲
浏览 6
提问于2016-09-06
得票数 1
1
回答
使用
curl
获取S3文件的S3值
amazon-web-services
、
curl
、
amazon-s3
、
header
、
md5
configuration fileamzFilecfg=XXXXresource="/${bucket}/${amzFilecfg}"dateValue=`date -R`signature=`ech
浏览 2
提问于2019-02-28
得票数 2
回答已采纳
1
回答
PHP库:更新候选人简历
php
、
taleo
我使用下面的php库来使用TaleoPHP库: 我检查了库代码,但没有找到任何文件或代码行,这是与resume或attachment相关的,您能帮我举一个简单的库示例或没有库吗?
浏览 5
提问于2014-11-10
得票数 2
回答已采纳
1
回答
Java等价于具有图像和文本的
curl
post请求
java
、
curl
、
http-post
、
mime-types
我试图编写java代码来完成这个命令所做的工作:
curl
-F "image=@image.jpg" -F "param1=some-value" -F "param2=some_value" http(我实际上是在动态下载一张图片,而不是像
curl
命令那样从磁盘上读取,但我不认为这会有什么区别。)
浏览 0
提问于2016-07-30
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
curl为什么这么流行?
curl 作者考虑升级 curl 使用的 C 语言标准
curl在windows下的安装和curl命令详解
curl 7.61.0 发布
Tips for curl command
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券