Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
update the documentation with host header in How to download integration config section and title
  • Loading branch information
usazqueueit authored Aug 18, 2020
1 parent 8cb06df commit 838bd2d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ You should have a timer function, scheduled task, cron job or similar to downloa
You can find your configuration file here **https://[your-customer-id].queue-it.net/status/integrationconfig/[your-customer-id]** or via secure link (*) **https://[your-customer-id].queue-it.net/status/integrationconfig/secure/[your-customer-id]** after a successful publish. Remember, when you programmatically perform HTTP GET against the above endpoint then make sure you actually received the JSON data, i.e. only accept HTTP 200 with content-type application/json.
Please contact Queue-it support through the Go Queue-it self-service portal to get further help on this.

#### * How to download integration config with Api secrete Key:
#### * How to download integration config with Api Key:
Integration configuration contains valuable information like triggers and actions. Anyone can download the configuration by knowing the URL because it does not require any authentication. You can protect integration configurations by enabling the “**Secure integration config**” setting, so only legitimate systems can download it by providing a valid API key.

1. You need to enable “**Secure integration config**” setting in the Go Queue-it self-service portal.
2. You need to decorate the request by adding API key in the request header. You can get API key in the Go Queue-it self-service portal.

curl --request GET https://[your-customer-id].queue-it.net/status/integrationconfig/secure/[your-customer-id]' --header 'api-key: [Customer API-Key]'
3. Remember to add Host header in the request if your framework doesn't do that automatically. A missing host header will result in a 400 Bad Request response.

curl --request GET https://[your-customer-id].queue-it.net/status/integrationconfig/secure/[your-customer-id]' --header 'api-key: [Customer API-Key]' --header 'Host: queue-it.net'

0 comments on commit 838bd2d

Please sign in to comment.