About REST

It was a joke when my boss asked me how much I knew about REST, I almost told him about how to have a rest, you know, I nearly made up a joke on REST. I search it in google at first, my god, It's not what I thought about exactly. It stands for Representational State Transfer, a Web Architectural Style for distributed hypermedia system. I found some useful materials on the topic, see links as below,

Details of REST on Dr. Roy Thomas Fielding's website : http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm
I came across an involved acticles on javaeye as well in recent, to see contents : http://www.iteye.com/topic/137334
A video stuff to know REST in effect:http://www.iteye.com/topic/137334

REST? I am new to pay attention to it, however, that will be part of my job to implement our planform according this technology.(Is it a technology? ) Let's study and discuss on it together.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
GeoServer 是一个开源的地理数据服务软件,它支持 RESTful API 以及其他协议,可以通过这些接口来管理和发布地理数据。GeoServer RESTful API 提供了基于 HTTP 的接口,可以通过 HTTP GET, POST, PUT, DELETE 等方法来管理 GeoServer 中的数据。 下面是一些常用的 GeoServer RESTful API 接口: 1. 获取 GeoServer 版本信息:http://localhost:8080/geoserver/rest/about/version.xml 2. 获取所有工作空间信息:http://localhost:8080/geoserver/rest/workspaces.xml 3. 获取指定工作空间中的所有数据存储信息:http://localhost:8080/geoserver/rest/workspaces/{workspace}/datastores.xml 4. 获取指定数据存储中的所有图层信息:http://localhost:8080/geoserver/rest/workspaces/{workspace}/datastores/{datastore}/featuretypes.xml 5. 创建新的工作空间:POST http://localhost:8080/geoserver/rest/workspaces.xml 6. 创建新的数据存储:POST http://localhost:8080/geoserver/rest/workspaces/{workspace}/datastores.xml 7. 创建新的图层:POST http://localhost:8080/geoserver/rest/workspaces/{workspace}/datastores/{datastore}/featuretypes.xml 8. 删除工作空间:DELETE http://localhost:8080/geoserver/rest/workspaces/{workspace}.xml 9. 删除数据存储:DELETE http://localhost:8080/geoserver/rest/workspaces/{workspace}/datastores/{datastore}.xml 10. 删除图层:DELETE http://localhost:8080/geoserver/rest/workspaces/{workspace}/datastores/{datastore}/featuretypes/{featureType}.xml 以上是一些常用的 GeoServer RESTful API 接口,你可以根据自己的需要进行调用。需要注意的是,在调用这些接口之前,需要先进行身份验证,获取到访问 GeoServer 的权限。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值