你能帮我解决一下我的问题吗?
使用Postman(REST客户端 - chrome扩展)我发布一个REST服务,我从服务中得到了正确的答案 . 答案是“201 Created”,并在DB中添加一个新行 .
网址= http://suring-t.suremptec.com.ar/gis/13/rest/1.0/organizations
form-date =元数据
{
"meta" : {
"version" : "1.0",
"description" : "Organization"
},
"id" : null,
"name" : "test org",
"startDate" : "2014-06-05 16:20:31.334",
"endDate" : null,
"administrable" : true,
"published" : true,
"href" : "\/2\/rest\/1.0\/organizations\/1"
}
我找不到让SoapUI(5.1.2)使用相同请求的方法 .
网址= http://suring-t.suremptec.com.ar/gis/13/rest/1.0/organizations
form-date =
元数据{"meta":{"version":"1.0","description":"Organization"},"id":null,"name":"test org","startDate":"2014-06-05 16:20:31.334","endDate":null,"administrable":true,"published":true,"href":"/2/rest/1.0/organizations/1"}
响应是“200 - Ok”,但是
任何想法,如何配置soapui请求?
1 回答
这应该让你开始Getting started with REST