App Inventor 的 XML-RPC HTTP 请求? [英] XML-RPC HTTP request with App Inventor?

查看:44
本文介绍了App Inventor 的 XML-RPC HTTP 请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建一个将与 Tapatalks API 通信的应用程序,它使用 XML-RPC HTTP 请求,我可以使用 Web 组件执行发布/获取请求.我找不到任何关于修改 web 组件/块以创建所述 XML-RPC 编码的内容.有资源吗?关于搜索内容或见解的提示将不胜感激.

I am trying to build out an app that will communicate with Tapatalks API, it uses XML-RPC HTTP requests, I can do post/get requests with the web component. I cannot find anything on modifying the web component/Blocks to create said XML-RPC encoding. Any resources? Tips of what to search, or insight would be appreciated.

这是我试图与 https://github.com/tapatalk/tapatalk-phpbb3/blob/master/root/mobiquo/function/login.php

这是我当前的应用程序块,我收到了一个代码 200

Here is my app blocks currently and I am getting a code 200

这是我的块编辑器:http://imgur.com/uEyOb8i

推荐答案

你尝试的东西看起来很奇怪,但至少你尝试了一些东西 ;-) ...您以某种方式混合了 POST 和 GET 请求,没有定义标头,xml 格式在哪里?

What you tried looks very strange, but at least you tried something ;-) ... You somehow mixed a POST and GET request, there is no header defined and where is the xml format?

可能首先阅读以下内容会有所帮助:什么是 XML-RPC 请求
然后关于 App Inventor,您可以尝试使用以下块.
更新屏幕截图以使事情更清晰.

Probably it helps to read this first: What is a XML-RPC Request

Then concerning App Inventor you can try to use the following blocks.
update of the screenshot to make things clearer.

这篇关于App Inventor 的 XML-RPC HTTP 请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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