且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

REST服务器或API来测试我的RESTful客户端?

更新时间:2023-11-30 12:50:40

您可以测试对任何公开的REST API,你可以从著名的服务发现和选择不需要身份验证的动作。例如微小的网址(如果你想测试GET请求),如果你想更复杂的数据,你可以从Twitter获取一个身份验证令牌和测试针对他们的API

You can test against any public REST API that you can find from famous services and choose actions that don't require an authentication. For instance Tiny Url (if you want to test GET requests) and if you want more complex data you can get an auth token from Twitter and test against their API.

请注意,这只是一个例子。这样做是为了调查您最喜爱的网站/ 33.060.99的API和你可能会找到一个适合你和你的测试。

Note that this is just an example. The idea is to investigate the APIs of your favorite sites/servies and you'll likely find one that fits you and your tests.