microsoft-search / pnp-modern-search-extensibility-samples

MIT License
21 stars 19 forks source link

Custom datasource Sample 2 #15

Closed edarroudi closed 2 years ago

edarroudi commented 2 years ago

As discussed in https://github.com/microsoft-search/pnp-modern-search/pull/2400 I added this. Personall I think @patrikhellgren PR is good enough.

Tested with GET, URL = https://registry.npmjs.org/-/v1/search?text={inputQueryText}&size=10, Json root: 'objects' Didn't find a goog public API for POST. Tried with https://httpbin.org/post and it works ( without giving back any items to display). image