Plugin rest api 404 error

Hello @everyone

Continuing the discussion from Need API to get the count of approvals pending with owner:

I have the same requirement at my end but unable to get the response from the plugin api I am getting 404 error when calling the api
can any one suggest me over this.
is there any step which I am missing, I have imported the plugin into my environment and trying test the response. also I assign the user with the communityrestapi capability. still no luck

Thanks in advance

Do you mean your java endpoint from frontend?

ifso try this:

const requestDetailsUrl       = PluginHelper.getPluginRestUrl(`yourenpoint/${yourEndpoinVariable}`)
1 Like

Hello Everyone,

Thanks for your supports,

I am now able to to access the url and able to see the response.
cause of my issue was I was using the incorrect url due to which it was leading to 404 error.

after usings the right url then was able to get successful response from the API urls.

Thanks
Riyazuddin

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.