You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Heping Shang <he...@oracle.com> on 2015/10/24 00:21:54 UTC

REST API

I tried get http://localhost:8080/controller/history
I got:
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
/>
        <link rel="shortcut icon" href="../nifi/images/nifi16.ico"/>
        <title>NiFi</title>
        <link href="/nifi/css/message-pane.css" rel="stylesheet"
type="text/css" />
        <link href="/nifi/css/message-page.css" rel="stylesheet"
type="text/css" />
    </head>
    <body class="message-pane">
        <div class="message-pane-message-box">
            <p class="message-pane-title">
                Did you mean: 
                 /nifi </nifi/>  
            </p>
            <p class="message-pane-content">You may have mistyped...</p>
        </div>
    </body>
</html>

Anything wrong with my side?
Thanks.

            -------- Heping Shang.




--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/REST-API-tp3303.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: REST API

Posted by Matt Gilman <ma...@gmail.com>.
Heping,

Try adding /nifi-api as the base context path before the /controller portion. Additionally, you may want to open up the developer tools in your browser to see the requests the UI makes.

We have a ticket to make this more clear.

https://issues.apache.org/jira/browse/NIFI-1017

Matt

Sent from my iPhone

> On Oct 23, 2015, at 4:21 PM, Heping Shang <he...@oracle.com> wrote:
> 
> I tried get http://localhost:8080/controller/history
> I got:
> <!DOCTYPE html>
> <html>
>    <head>
>        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
> />
>        <link rel="shortcut icon" href="../nifi/images/nifi16.ico"/>
>        <title>NiFi</title>
>        <link href="/nifi/css/message-pane.css" rel="stylesheet"
> type="text/css" />
>        <link href="/nifi/css/message-page.css" rel="stylesheet"
> type="text/css" />
>    </head>
>    <body class="message-pane">
>        <div class="message-pane-message-box">
>            <p class="message-pane-title">
>                Did you mean: 
>                 /nifi </nifi/>  
>            </p>
>            <p class="message-pane-content">You may have mistyped...</p>
>        </div>
>    </body>
> </html>
> 
> Anything wrong with my side?
> Thanks.
> 
>            -------- Heping Shang.
> 
> 
> 
> 
> --
> View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/REST-API-tp3303.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.