Skip to content

Commit d3c7e3b

Browse files
authored
Update README.md
only accept json and http 200 when downloading config file
1 parent ff4e8d2 commit d3c7e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The KnownUser library needs the Triggers and Actions to know which pages to prot
77
These Triggers and Actions are specified in the Go Queue-it self-service portal.
88

99
You should have a timer function, scheduled task, cron job or similar to download and cache the configuration for 5 - 10 minutes, so the configuration is ready when requests come in. You should NEVER download the configuration as part of the request handling.
10-
You can find your configuration file here https://[your-customer-id].queue-it.net/status/integrationconfig/[your-customer-id] after a succesful publish.
10+
You can find your configuration file here https://[your-customer-id].queue-it.net/status/integrationconfig/[your-customer-id] after a succesful 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.
1111
Please contact Queue-it support through the Go Queue-it self-service portal to get further help on this.
1212

1313
![Configuration Provider flow](https://github.com/queueit/KnownUser.V3.PHP/blob/master/Documentation/ConfigProviderExample.png)

0 commit comments

Comments
 (0)