Json only response

This topic contains 2 replies, has 2 voices, and was last updated by Manu Manu 7 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12240
    Manu
    Manu
    Participant

    Hello,

    I would like to use the plugin in a mobile native app.

    > Do you think it can be achieve ?
    > Is it possible to have a response from the plugin in json only ?

    Thank you !

    #12243
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I’m not too experienced with native mobile app development, but I don’t think it’s possible to embed a WordPress outputted code to an app. It’s also impossible to have JSON response only, as the templating is generated on the server side, and it would have to be completely re-coded.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #12244
    Manu
    Manu
    Participant

    Hi Enerst,

    Thank you for your answer !

    I think it can be achieve but without json output only it will be hard !

    If one day you think to add a template who output only json, or better a custom endpoints compatible with the rest API (https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/) it will be great 🙂

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

The forum ‘Ajax Search Pro for WordPress’ is closed to new topics and replies.