Rest Api

This topic contains 9 replies, has 4 voices, and was last updated by  Paolo 6 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #427353

    Felicia Felicia
    Buyer
    Post count: 140

    Hi, I can’t access the rest api link on my page.

    It keeps redirecting me back to my homepage – possible to check for me?

    THanks!

    #427354

    Felicia Felicia
    Buyer
    Post count: 140
    This reply has been marked as private.
    #427355

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #427357

    Felicia Felicia
    Buyer
    Post count: 140

    Oh yes it’s working thanks.

    How do I access the fields on geodirectory?

    I searched /wp-json/geodir/v1
    But i got: {“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method”,”data”:{“status”:404}}

    #427362

    Felicia Felicia
    Buyer
    Post count: 140

    Hi Kor, any updates? Thanks!

    #427377

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Are you using GDv1? If so please look here: https://wpgeo.directory/rest-api/geodirectory-rest-api-endpoints/

    Stiofan

    #427390

    Felicia Felicia
    Buyer
    Post count: 140

    Yes using GDv1.

    Yup i tried /wp-json/geodir/v1
    But i got: {“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method”,”data”:{“status”:404}}

    #427416

    Paolo
    Site Admin
    Post count: 31206

    Hi Felicia,

    please share the URL that is returning that error and we’ll try to help. Without it it’s impossible to assist.

    Thanks

    #427417

    Felicia Felicia
    Buyer
    Post count: 140
    This reply has been marked as private.
    #427424

    Paolo
    Site Admin
    Post count: 31206

    It won’t work if you don’t install the geodirectory api plugin.

    You must install the GD API plugin with V1

    You can find it here: https://github.com/GeoDirectory/geodir_api

    Thanks

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket