-
Set these environment variable values:
export GIT_ACCOUNT=senzing export GIT_REPOSITORY=resolver export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}"
-
Test HTTP API. Example:
curl -X POST \ --header "Content-Type: text/plain" \ --data-binary @${GIT_REPOSITORY_DIR}/test/test-data-1.json \ http://localhost:8252/resolve
-
Test HTTP API with JSON. Example:
curl -X POST \ --header "Content-Type: text/plain" \ --data-binary @${GIT_REPOSITORY_DIR}/test/test-data-1.json \ http://localhost:8252/resolve?withJson=true
-
Test HTTP API with Features. Example:
curl -X POST \ --header "Content-Type: text/plain" \ --data-binary @${GIT_REPOSITORY_DIR}/test/test-data-1.json \ http://localhost:8252/resolve?withFeatures=true