Ok

En poursuivant votre navigation sur ce site, vous acceptez l'utilisation de cookies. Ces derniers assurent le bon fonctionnement de nos services. En savoir plus.

  • API 2

    curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer ' 'https://api.insee.fr/entreprises/sirene/V3/siren' URL appelée https://api.insee.fr/entreprises/sirene/V3/siren Request Headers { "Accept": "application/json" } Corps de la réponse { "fault": { "code": 900902, "message": "Missing Credentials", "description": "Required OAuth credentials not provided. Make sure your API invocation call has a header: "Authorization: Bearer ACCESS_TOKEN"" } } Code de la réponse 401 En-têtes de la réponse { "date": "Mon, 03 Jun 2019 13:54:34 GMT", "www-authenticate": "OAuth2 realm="WSO2 API Manager", error="invalid token", error_description="The access token expired"", "accept-encoding": "gzip, deflate, br", "accept-language": "fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7", "transfer-encoding": "chunked", "x-forwarded-for": "88.179.77.42", "cookie": "csrftoken=4ntrd6c093896a268gue67plnt; pdapimstore=102116106.8998.0000; i18next=fr-FR; JSESSIONID=8CC137B4158B816078827E5BC9A73C5C; pdapimgateway=1846946570.22560.0000", "connection": "keep-alive", "x-forwarded-proto": "https", "strict-transport-security": "max-age=100000; includeSubDomains", "access-control-allow-methods": "POST,GET", "content-type": "application/json; charset=UTF-8", "access-control-allow-origin": "*", "accept": "application/json", "referer": "https://api.insee.fr/catalogue/site/themes/wso2/subthemes/insee/pages/item-info.jag?name=Sirene&version=V3&provider=insee", "access-control-allow-headers": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction" }