2

I have an application I'm writing, in Objective-C(iPhone), and I want to be able to write a string of text to Pastie or Pastebin, and be able to have the link to that page. I have not been able to find any API for either of these, is this possible? How?

Thanks!

4

2 回答 2

2

您必须使用<form>html 页面上的标签中描述的字段构建 HTTP POST 请求。

对于 pastebin.com ,它可能是parent_pid,和.formatcode2poster

只要确保网站的所有者对您的程序以这种方式访问​​它没有任何问题。

于 2009-07-28T20:09:42.513 回答
1

这是他们为 pastebin.com 提供的 API:http: //pastebin.com/api

于 2011-05-02T08:29:13.370 回答