You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Chao Long <ch...@gmail.com> on 2019/10/01 07:23:38 UTC

Re: Rest Api “Load Hive Tables ”Return 405

Hi Johnson,
   You should place those parameters in the url, like this:
http://localhost:7070/kylin/api/tables/kylin_table/kylin_project

On Mon, Sep 30, 2019 at 4:59 PM Johnson <it...@163.com> wrote:

> hi,all
>
>    -
>
>    I call the API “Load Hive Tables” according to the official document
>    and return 405
>
> result:
>
>
>
>

Re: Rest Api “Load Hive Tables ”Return 405

Posted by Guosheng Lu <gu...@kyligence.io>.
Hi Johnson:
   You can use postman to request api like the screenshot below



[cid:image001.png@01D57DC8.0D462650]
api: /tables/{tables}/{project}
{tables}: default.cal_dt, if you load more than one, split by‘,’, for example  table/t1,t2/p1
{project}: ‘p1’
----------------------------------------------
陆国圣 /  Guosheng Lu
软件工程师 / Software Engineer

电话 / Mobile: 13914708027
http://kyligence.io<http://kyligence.io/>
[cid:image002.png@01D57DC8.0D462650]

发件人: Chao Long <ch...@gmail.com>
答复: "user@kylin.apache.org" <us...@kylin.apache.org>
日期: 2019年10月1日 星期二 下午3:34
收件人: "user@kylin.apache.org" <us...@kylin.apache.org>
主题: Re: Rest Api “Load Hive Tables ”Return 405

Hi Johnson,
   You should place those parameters in the url, like this: http://localhost:7070/kylin/api/tables/kylin_table/kylin_project

On Mon, Sep 30, 2019 at 4:59 PM Johnson <it...@163.com>> wrote:
hi,all

·         I call the API “Load Hive Tables” according to the official document and return 405
[cid:image003.png@01D57DC8.0D462650]
result:
[cid:image004.png@01D57DC8.0D462650]