This page shows a quick example of sending text to your REST API from JavaScript (using
React) to process them with spaCy. Make sure the
server is running on the given host and port via
python -m spacy project serve
. See the source of this page for the code.