如果我要列出表的内容,我有以下XML:
<?xml version="1.0" encoding="UTF-8"?>
<competitions>
<competition>
<competitionPK>
<competitionName>Test Thing</competitionName>
<edition>First Thing</edition>
</competitionPK>
<description>Test Thing ONE</description>
</competition>
<competition>
<competitionPK>
<competitionName>Test Thing 2</competitionName>
<edition>Second Thing</edition>
</competitionPK>
<description>Test Thing TWO</description>
</competition>
</competitions>
这是公开服务的URL:
http://localhost:8080/project/org.project.rest.application.config.competition/%7Bid%7D
如何才能获得第二场比赛的数据=测试2?
我试过......
http://localhost:8080/project/org.project.rest.application.config.competition/%STest%20Thing%2%B4Second%20Thing%7D
...这似乎是合乎逻辑的,但由于没有找到任何内容,它会产生204错误。
由于