iphone - 写信给 Pastie 或 Pastebin?

标签 iphone objective-c api pastebin pastie

我正在用 Objective-C(iPhone) 编写一个应用程序,我希望能够向 Pastie 或 Pastebin 写入一串文本,并能够获得该页面的链接。我没有找到任何 API,这可能吗?怎么办?

谢谢!

最佳答案

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

对于pastebin.com来说,它可能是parent_pid , format , code2poster .

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

关于iphone - 写信给 Pastie 或 Pastebin?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1196331/

相关文章:

iphone - iOS 5崩溃@ [self.navigationController pushViewController:vcSummary动画:是];

ios - 如何在没有 NavigationController 的情况下使用 ASTableNode 在 ASViewController 上添加像 Navigationbar 这样的 headerView?

web-services - 从纬度经度查找时区

java - 我可以使用已弃用的类吗?

iphone - 如何防止 UINavigationBar 在横向上自动调整大小

iphone - 设置animationDidStopSelector : on UIView's animation delegate

ios - SLComposeViewController 在 ios8 中崩溃

objective-c - 自定义核心数据填充 NSArrayController 的最佳方式

objective-c - 如何与 Mac OS X 中的 Photoshop 应用程序交互

c++ - 是C++参数:logic and :timeout deprecated in Z3 unstable branch?