在线REST API的例子 [英] Examples of REST API online

查看:143
本文介绍了在线REST API的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建设我的第一个REST API,它串行化数据为JSON和XML格式。
我想提供一个索引页API客户端,在那里他们将能够选择执行端点。我希望看到一些网上的REST API的了解什么是做到这一点的常用方法。

I'm building my first Rest API which serialize data to JSON and XML formats. I would like to provide an index page to API clients, where they would be able to choose implemented endpoints. I would like to see some online REST API's to understand what is the common way to do it.

任何你是否知道有这种实现的任何REST API?

Does any of you know any Rest API which has this kind of implementation?

推荐答案

这里的是一个很好的一个开始。

Here's a good one for starting.

主要列表: http://www.thomas-bayer.com/sqlrest/

GET 例如客户名单:<一href=\"http://www.thomas-bayer.com/sqlrest/CUSTOMER/\">http://www.thomas-bayer.com/sqlrest/CUSTOMER/

GET 例如一个客户实体:<一href=\"http://www.thomas-bayer.com/sqlrest/CUSTOMER/3/\">http://www.thomas-bayer.com/sqlrest/CUSTOMER/3/

等等...

您可以做发表 删除等,如果你想(读的第一个环节的所有细节)。对于这些,我真的建议海报附加从Firefox。

you can do POST, DELETE etc if you want(read the first link for all the details). For these, I really recommend Poster add-on from Firefox.

这篇关于在线REST API的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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