You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Guys,
First of all, thanks for creating this project!
I was testing the IsTodayPublicHoliday request using various countries: PL, GB, GR and all works fine.
However, I've started playing with countries that are not supported, like Indie - IN, Ethopia - ET and instead of getting 404 response, I got 204, which was a bit confusing.
Right now I need to first find the country on the list of supported countries (AvailableCountries) and if there is a match run IsTodayPublicHoliday.
Is this a "feature" or a bug :)
Regards,
Marcin
The text was updated successfully, but these errors were encountered:
This is because I can't get along with the 404 code, it gives me too much of a feeling that the endpoint doesn't exist. But with a 400 I could make friends.
Thanks for the reply!
400 "Validation Error" Sounds good for me. Also country code that contain 3 letters or 1 letter, both of course provided by mistake, also return 404, so after the change it would be good to get 400 too.
More information
Hi Guys,
First of all, thanks for creating this project!
I was testing the IsTodayPublicHoliday request using various countries: PL, GB, GR and all works fine.
However, I've started playing with countries that are not supported, like Indie - IN, Ethopia - ET and instead of getting 404 response, I got 204, which was a bit confusing.
Right now I need to first find the country on the list of supported countries (AvailableCountries) and if there is a match run IsTodayPublicHoliday.
Is this a "feature" or a bug :)
Regards,
Marcin
The text was updated successfully, but these errors were encountered: