1) Give a description of the problem
Two queries to the same site produce different results.
2) What is the expected behavior?
Return Holiday info on respective Web request
3) What is happening/not happening?
The Workday query is correct and returns a value. Although testing the exact URL manually in a browser works correctly, in WebCoRE, it returns a Null
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
0f3ad38d-3925-4a09-8b33-f51e517e6396 9:36:29 AM: trace ║║ Executed virtual command setVariable (3ms)
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: trace ║║ Executed virtual command httpRequest (527ms)
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: trace ║╔ Execution stage complete. (1217ms)
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: debug ║║ Calculating (string) https://kayaposoft.com/enrico/json/v2.0/?action=isWorkDay&date= + (string) 20-08-2018 >> (string) https://kayaposoft.com/enrico/json/v2.0/?action=isWorkDay&date=20-08-2018
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: debug ║║ Calculating (string) https://kayaposoft.com/enrico/json/v2.0/?action=isWorkDay&date=20-08-2018&country=usa& + (string) region=ny >> (string) https://kayaposoft.com/enrico/json/v2.0/?action=isWorkDay&date=20-08-2018&country=usa&region=ny
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: debug ║║ Sending external web request to: kayaposoft.com/enrico/json/v2.0/?action=isWorkDay&date=20-08-2018&country=usa&region=ny
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: info ╔ Event processed successfully (1339ms)
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: debug ║║ Sending external web request to: kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange&fromDate=25-12-2018&toDate=25-12-2018&country=usa&region=ny&holidayType=public_holiday
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: debug ║║ Calculating (string) https://kayaposoft.com/enrico/json/v2.0/?action=isWorkDay&date=20-08-2018 + (string) &country=usa& >> (string) https://kayaposoft.com/enrico/json/v2.0/?action=isWorkDay&date=20-08-2018&country=usa&
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: trace ║║ Executed virtual command httpRequest (620ms)
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:29 AM: trace ║║ Executed virtual command setVariable (3ms)
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: debug ║║ Calculating (string) https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange&fromDate=25-12-2018&toDate=25-12-2018 + (string) &country=usa& >> (string) https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange&fromDate=25-12-2018&toDate=25-12-2018&country=usa&
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: debug ║║ Calculating (string) https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange&fromDate=25-12-2018&toDate=25-12-2018&country=usa& + (string) region=ny&holidayType=public_holiday >> (string) https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange&fromDate=25-12-2018&toDate=25-12-2018&country=usa&region=ny&holidayType=public_holiday
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: trace ║╚ Execution stage started
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: trace ║ Runtime (40844 bytes) successfully initialized in 58ms (v0.3.107.20180806) (117ms)
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: debug ║║ Cancelling statement #1's schedules...
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: debug ║ RunTime Analysis CS > 21ms > PS > 58ms > PE > 38ms > CE
[0f3ad38d-3925-4a09-8b33-f51e517e6396](https://graph-na02-useast1.api.smartthings.com/ide/logs#0f3ad38d-3925-4a09-8b33-f51e517e6396) 9:36:28 AM: info ╚ Received event [Home].execute = 74.102.90.198 with a delay of 55ms
Thanks