1
数据插入到HBase的按照星门文档,这是一个curl命令应该什么样子:如何通过星门REST API
% curl -H "Content-Type: text/xml" --data '[...]' http://localhost:8000/test/testrow/test:testcolumn
这就是我想:
% curl -X POST -H "Accept: text/xml" --data '[<CellSet><Row key="cm93MQ=="><Cell column="dGl0bGU6YQ==">d29ya2Vk</Cell></Row></CellSet>]' http://localhost:8080/test/row1/title
继续获取HTTP 415,不支持的媒体类型..任何想法我在那里失踪?
好,得到了不同类型的错误,现在,也许它越来越近:400错误的要求 – Alberto
如若[]方括号是围绕XML?表'test'是否存在? –
明白了,是[]括号!非常感谢! – Alberto