Support » Plugin: Ultimate Endpoints With Rest Api » How to return error in endpoint

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

    (@dipankarpal212)

    Hey @sakuraevil ,

    You can return empty array in the filter hook of the endpoint.
    So that it will return empty data, and if you want to get any status code, you can return your custom status code into that array inside the filter hook.

    Thanks

    Plugin Author dipankarpal

    (@dipankarpal212)

    Please give us a rating and reviews, it will help us to improve things in future.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to return error in endpoint’ is closed to new replies.