Discussions

Ask a Question
Back to All

Creating Guides Search on External Website

Hi,

We have been attempting to create a search via JS/Vue that hooks into the API to allow users to search a guide and then link to the particular guide on readme.io.

We have attempted to use the search API: https://docs.readme.com/docs/search-api. Using our details we can generate results here: https://docs.readme.com/reference/searchdocs but when accessing via our external site we run into a CORS issue.

A No 'Access-Control-Allow-Origin' header is present.

Is there a way around this?

Thx Matt