-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I try to resolve "orenthal james simpson", and the response is this, when the last name should be "simpson" and first name should be "orenthal":
"addressingGivenName": "James",
"addressingSurname": "Orenthal",
request.json:
{"inputPerson":{"type":"NaturalInputPerson","personName":{"nameFields":[{"string":"orenthal james simpson","fieldType":"FULLNAME"}]}}}
command:
curl -H "Content-Type: application/json" -X POST https://api.nameapi.org/rest/v5.3/parser/personnameparser?apiKey=XXXXX --data-binary "@request.json"
I looked at this but don't see ways to customize the request, for example by giving it the region as "USA", or something like that:
https://api.nameapi.org/rest/swagger-ui/#/%2Fparser/parse_2
Should the request be different?
Metadata
Metadata
Assignees
Labels
No labels