由网友(和谐射秽)分享简介:我试图在通过传递变量出现以下错误 URLRequestMethod.POST; I get the following error when trying to pass variables via URLRequestMethod.POST;错误:错误#2101。)传递给URLVariables.de code...
我试图在通过传递变量出现以下错误 URLRequestMethod.POST;
I get the following error when trying to pass variables via URLRequestMethod.POST;
错误:错误#2101。)传递给URLVariables.de code(String必须是包含名称/值对的URL连接codeD查询字符串
Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.
是否有字符串URL编码的方法?
Is there a method for string URL Encoding?
推荐答案
解决这个问题:
你必须设置URLLoaderDataFormat为URLLoaderDataFormat.TEXT不是 URLLoaderDataFormat.VARIABLES。
因为变量
是指不同类型的数据,在的URLVariables
不是多个项目。
Solution to this problem is:
You have to set URLLoaderDataFormat to URLLoaderDataFormat.TEXT not URLLoaderDataFormat.VARIABLES.
Because VARIABLES
means different types of data, not multiple items in URLVariables
.
相关推荐
最新文章