接受GET / Post调用的HTTP测试服务器 [英] HTTP Test server that accepts GET/Post calls

查看:177
本文介绍了接受GET / Post调用的HTTP测试服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个实时测试服务器,它通过HTTP GET接受我对基本信息的请求,并允许我POST(即使它真的没有做任何事情)。这完全是出于测试目的。



一个很好的例子是这里



它很容易接受GET请求,但我需要一个接受POST请求。



<有没有人知道我可以发送愚蠢的测试消息的服务器?

解决方案

http://httpbin.org/



它回应了您的请求中使用的任何类型的数据:




I need a live test server that accepts my requests for basic information via HTTP GET and also allows me to POST (even if its really not doing anything). This is entirely for test purposes.

A good example is here

it easily accepts GET requests, but I need one that accepts POST requests.

Does anyone know of a server that I can send stupid test messages too?

解决方案

http://httpbin.org/

It echoes the data used in your request for any of these types:

这篇关于接受GET / Post调用的HTTP测试服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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