This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapi.http
69 lines (52 loc) · 1.47 KB
/
api.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@apiKey = dev-token
@host = localhost:3000
# Global ping
GET http://{{host}}/api/ping
X-Api-Key: {{apiKey}}
###
# Introspect
GET http://{{host}}/api/introspect
X-Api-Key: {{apiKey}}
###
# DGFIP v1
GET http://{{host}}/api/impots/svair
?numeroFiscal={{$dotenv TEST_TAX_NUMBER}}
&referenceAvis={{$dotenv TEST_TAX_NOTICE_NUMBER}}
X-Api-Key: {{apiKey}}
###
# DGFIP v2
GET http://{{host}}/api/v2/avis-imposition
?numeroFiscal={{$dotenv TEST_TAX_NUMBER}}
&referenceAvis={{$dotenv TEST_TAX_NOTICE_NUMBER}}
X-Api-Key: {{apiKey}}
###
# CNAF v1
GET http://{{host}}/api/caf/famille
?numeroAllocataire={{$dotenv TEST_NUMERO_ALLOCATAIRE}}
&codePostal={{$dotenv TEST_CODE_POSTAL}}
X-Api-Key: {{apiKey}}
###
# CNAF v2
GET http://{{host}}/api/v2/composition-familiale
?numeroAllocataire={{$dotenv TEST_NUMERO_ALLOCATAIRE}}
&codePostal={{$dotenv TEST_CODE_POSTAL}}
X-Api-Key: {{apiKey}}
###
# Pôle Emploi v2
GET http://{{host}}/api/v2/situations-pole-emploi
?identifiant={{$dotenv TEST_POLE_EMPLOI_ID}}
X-Api-Key: {{apiKey}}
###
# MESRI v2 par INE
GET http://{{host}}/api/v2/etudiants
?ine={{$dotenv TEST_MESRI_INE}}
X-Api-Key: {{apiKey}}
###
# MESRI v2 par état civil
GET http://{{host}}/api/v2/etudiants
?nom={{$dotenv TEST_MESRI_NOM}}
&prenom={{$dotenv TEST_MESRI_PRENOM}}
&dateDeNaissance={{$dotenv TEST_MESRI_DATE_NAISSANCE}}
&lieuDeNaissance={{$dotenv TEST_MESRI_LIEU_NAISSANCE}}
&sexe={{$dotenv TEST_MESRI_SEXE}}
X-Api-Key: {{apiKey}}