问题:
post请求报错:Content Type 'text/plain;charset=UTF-9' not supported
解决:
为该请求下增加一个http header manager
添加方法:左侧目录上找到请求》右键Add》Config Element》HTTP Header Manager,打开HTTP信息头管理器,Add一个Name为Content-Type,Value为application/json
问题解决
如果请求中有参数的时候,一般get请求用parameter;post用body data。
tips:一般parameter里的参数过多的时候,可以从fiddler里的请求中的web form中拷贝过来,然后点击“Add from Clipboard”就直接粘贴过来了。
网友评论