Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Not able to run nifi-api on my local machine

avatar
Rising Star

I am not able to access nifi-api on my local instance .

it says resource not found .

72468-1.png

1 ACCEPTED SOLUTION

avatar
Super Mentor
@aman mittal

The URL you are trying to reach is not a valid end-point so the "The specified resource could not be found" is the expected response. If you trying to access the NiFi UI, the proper URL would be http://localhost:8081/nifi

-

If you are trying to get a response from one of NiFi's api end-points, you need to be very specific about which end-point you are trying to hit. The following link provides the syntax for NiFI rest-api endpoints that will return:

https://nifi.apache.org/docs/nifi-docs/rest-api/index.html

-

Thank you,

Matt

-

*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

View solution in original post

2 REPLIES 2

avatar
Super Mentor
@aman mittal

The URL you are trying to reach is not a valid end-point so the "The specified resource could not be found" is the expected response. If you trying to access the NiFi UI, the proper URL would be http://localhost:8081/nifi

-

If you are trying to get a response from one of NiFi's api end-points, you need to be very specific about which end-point you are trying to hit. The following link provides the syntax for NiFI rest-api endpoints that will return:

https://nifi.apache.org/docs/nifi-docs/rest-api/index.html

-

Thank you,

Matt

-

*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

avatar
Rising Star

Thanks . I was not accessing the api with correct syntax .