Rest service Integration to Adobe MESH API Hi,
Anybody using Rest API in Adobe mesh?
I have requirement to create mesh for third party rest api and graphql response. As third party REST api is kind of search service which needs query params to fetch results.
Below is my sample json response when i do search
endpoint: https://<searchendpoint>?key=abc&query=<phrase>&pageSize=<pagesize>
Sample response:
"{\"numFound\":6,\"query\":\"test\",\"start\":0,\"pageSize\":1,\"page\":0,\"results\":[{\"url\":\"url.html",\"path\":\"url",\"title\":\"titlecvalue",\"category\":\"products\",\"productCategory\":\"Electric Strikes\",\"productFamily\":\"family\",\"image\":\"/content/dam/xyz.jpg"}]}"
Mesh config:
{
"meshConfig": {
"files": [
{
"path": "./demoResponse.json",
"content": "{\"numFound\":6,\"query\":\"1500\",\"start\":0,\"pageSize\":1,\"page\":0,\"results\":[{\"url\":\"https://www.abc.com/en/products/abc\",\"path\":\"path\",\"title\":\"title\",\"category\":\