Firefox Add-on RESTclient - 如何输入 POST 参数? [英] Firefox Add-on RESTclient - How to input POST parameters?

查看:24
本文介绍了Firefox Add-on RESTclient - 如何输入 POST 参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 Firefox RESTclient 附加组件,但是,我很难弄清楚如何传递 POST 参数.有没有特定的格式来做到这一点?或者是否有任何其他工具可用于在 Mac OS X 上调试 REST API?

I've installed Firefox RESTclient add-on but , I'm having hard time figuring out how to pass POST parameters. Is there a specific format to do this? Or is there any other tool which can be used to debug an REST API on Mac OS X ?

推荐答案

如果你想提交 POST 请求

If you want to submit a POST request

  1. 您必须将 Firefox 插件的请求标头"部分设置为名称"=Content-Type"代码>"和"=application/x-www-form-urlencoded"
  2. 现在,您可以在请求正文"文本区域字段中提交诸如name=mynamehere&title=TA"之类的参数
  1. You have to set the "request header" section of the Firefox plugin to have a "name" = "Content-Type" and "value" = "application/x-www-form-urlencoded"
  2. Now, you are able to submit parameter like "name=mynamehere&title=TA" in the "request body" text area field

这篇关于Firefox Add-on RESTclient - 如何输入 POST 参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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