This question already has an answer here:
- search results in JSON format 1 answer
I'm trying to create a JSON API that will return an array of JSON results matching specific search criteria. It will always be searching one specific content type, but will need to match custom fields for specific search terms. I will be passing a term to match a given field, for example:
The response from this needs to be an array of JSON objects containing the fields for that given content type.
I've seen many modules for this, but don't seem to see any that allow searching by field. Is this something I would need to implement custom? If so, what is the best module and/or method to start from?
Im not sure if I should be using a Search API, Services, one of the many REST JSON API Modules, etc.