diff --git a/collections/IRIS GW (Gateway) REST API (v1)/.env.template b/collections/IRIS GW (Gateway) REST API (v1)/.env.template index e4b23d3..e48ad6f 100644 --- a/collections/IRIS GW (Gateway) REST API (v1)/.env.template +++ b/collections/IRIS GW (Gateway) REST API (v1)/.env.template @@ -1 +1,2 @@ -IrisApiPassword= \ No newline at end of file +IrisApiPassword= +IrisApiUsername= \ No newline at end of file diff --git a/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml b/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml index 401dde2..e63a503 100644 --- a/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml +++ b/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml @@ -4,6 +4,6 @@ variables: - name: IrisApiUrl value: https://air.unipr.it/gw/rest/api - name: IrisApiUsername - value: restentities + value: "{{process.env.IrisApiUsername}}" - name: IrisApiPassword value: "{{process.env.IrisApiPassword}}" diff --git a/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml b/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml index 834bc46..723d471 100644 --- a/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml +++ b/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml @@ -15,6 +15,9 @@ config: bypassProxy: "" request: + headers: + - name: Accept + value: "*/*" auth: type: basic username: "{{IrisApiUsername}}"