Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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