• Resolved suryansht

    (@suryansht)


    Hello,

    I am using a headless WordPress CMS set-up and for that reason I have different SITE_URL, and HOMEURL. WordPress dashboard is on SITE_URL, and when I go to the plugin to set webhooks. It actually hits the {HOME_URL}/wp-json/notification/v1/repeater-field/627341 endpoint which doesnt work. I want it to hit on {SITE_URL}, which should solve this error.
    “The REST API is required to display this field, but it has been blocked. Please unlock the /notification REST API endpoint.”

    Can you help me understand if I have understood the issue right, and how could I configure this.

    Thank You

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks for the notice! I’ll make sure we fix this in the next version.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    @suryansht I just revisited this issue and I believe it’s either an improper WP configuration or WP has a bug. We are using get_rest_url() that uses get_home_url() internally.

    There’s no other way of retrieving the REST URI thus I cannot see what we could do differently in our plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘/notification/v1/ rest api endpoint not available’ is closed to new replies.