Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Not able to run nifi-api on my local machine

Explorer

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

it says resource not found .

72468-1.png

1 ACCEPTED SOLUTION

Master Guru
@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

Master Guru
@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.

Explorer

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.