diff --git a/authors-tools/examples.http b/authors-tools/examples.http index a08c3e2..9612189 100644 --- a/authors-tools/examples.http +++ b/authors-tools/examples.http @@ -1,9 +1,13 @@ +# Ces exemples peuvent être exécutés directement dans VSCode, en utilisant l'extension REST Client (humao.rest-client) + +# Décommenter/commenter les lignes voulues pour tester localement +# @baseUrl=http://localhost:31976 # VP -@baseUrl = https://authors-tools.services.inist.fr +@baseUrl = https://authors-tools.services.istex.fr # VI -# @baseUrl = http://name-gender-1.tdmservices.intra.inist.fr +# @baseUrl = http://name-gender-1.tdmservices.intra.istex.fr - +### # @name v1OrcidDisambiguation # Désambiguisation d'auteur orcid POST {{baseUrl}}/v1/orcid-disambiguation/orcidDisambiguation?indent=true HTTP/1.1 @@ -16,9 +20,9 @@ } ] -### -# @name v1NameGender +### +# @name v1FirstNameGender # Détection du genre d'un prénom POST {{baseUrl}}/v1/first-name/gender?indent=true HTTP/1.1 Content-Type: application/json @@ -30,7 +34,8 @@ {"id": "4", "value": "James A."} ] -# @name v1PrivatePublic +### +# @name v1CorporatePrivatePublic # Détection d'affiliation privé POST {{baseUrl}}/v1/corporate/private-public?indent=true HTTP/1.1 Content-Type: application/json @@ -40,4 +45,6 @@ {"id": "2", "value": "AiryLab SARL, 34 Rue Jean Baptiste Malon, F-04800 Greoux Les Bains, France"}, {"id": "3", "value": "4G TECHNOL, F-06370 Mouans Sartoux, France"}, {"id": "4", "value": "Univ Cote dAzur, INRIA, Ansys, Nice, France"} -] \ No newline at end of file +] + +### \ No newline at end of file