我想提取一个提取变量策略中的表单参数而没有成功。 request.formparam.grant_type
成功提取表单参数值,但是当我执行下列操作时,它不起作用。我不明白我在做什么错误我已经提出请求,头文件Content-Type
设置为application/x-www-form-urlencoded
在文档中指定,但似乎没有任何工作。我一定在做一些非常愚蠢的事情,但不能发现什么。在提取变量策略中提取表单参数
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ExtractVariables async="false" continueOnError="false" enabled="true" name="Extract-Variables-1">
<FormParam name="grant_type"/>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<Source clearPayload="false">request</Source>
<VariablePrefix>apigee</VariablePrefix>
</ExtractVariables>
感谢您的答复你好,我想建议,并遗憾的是没有工作对我来说,到底我提出支持请求,并以下作品 'FormParam name =“grant_type”> {grant_type} ' –
哎呀,这就是我得到的尝试从内存回应:)。我已经纠正了我的答案,以防别人来找。很高兴的支持能够帮助你。 –