如何输入POST参数

如何输入POST参数

本文介绍了Firefox附加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插件的请求标头部分设置为 name = Content-Type value = 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附加RESTclient - 如何输入POST参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 07:46