메인 콘텐츠로 건너뛰기
POST
/
match
/
text
Compare two text strings
curl --request POST \
  --url https://rest-api.argosidentity.com/v3/modules/match/text/match/text \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "textSet": {
    "originalText": "argos",
    "matchingText": "Arg0s"
  },
  "callbackUrl": "https://your-domain.com/callback"
}
'
{
  "similarity": 70
}

인증

x-api-key
string
header
필수

본문

application/json
textSet
object
필수
callbackUrl
string<uri>

The URL where the text comparison results will be sent upon completion. If a callbackUrl is provided, the process works asynchronously. If no callbackUrl is provided, the process operates synchronously.

예시:

"https://your-domain.com/callback"

응답

Successful text comparison

similarity
number

Similarity percentage between the two texts

예시:

70