什么是多部分HTTP POST以及如何制作它? (scribd) [英] What is a multipart HTTP POST and how to make it? (scribd)

查看:116
本文介绍了什么是多部分HTTP POST以及如何制作它? (scribd)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图上传一个文件到scribd。它说:要上传的文件的内容,这需要表示为多部分HTTP POST的一部分。

I'm trying to upload a file to scribd. It says: "The contents of the file to upload. This needs to be expressed as part of a multi-part HTTP POST"..

任何人都知道他们的意思这是什么?

Anyone know what they mean about this?

它应该看起来像这样: http://api.scribd.com/api?method=docs.upload&file=THE MULTIPART-HTTP-POST& api_key = API-KEY?

It should look something like this: http://api.scribd.com/api?method=docs.upload&file=THE MULTIPART-HTTP-POST&api_key=API-KEY ?

非常感谢,对不起,如果这是错误的地方,请提出这样的问题:)

Thank a lot, and sorry if this is the wrong place to ask such a questions :)

推荐答案

这是一种将POST请求中的数据分解为不同的离散类型的方法。它也经常被用来将电子邮件分成多个MIME类型的附件。您可以详细了解MIME(特别是关于多部分POST请求)此处

It's a way of breaking up the data in a POST request into different discrete types. It's also used quite often to break up emails into multiple attachments with mime types. You can read more about MIME in general (and specifically about multipart POST requests) here.

这篇关于什么是多部分HTTP POST以及如何制作它? (scribd)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆