Hebcal Jewish Calendar
Sign in / Sign up
Sign in / Sign up
User profile
Roi Dayan
Your comments
Shabbat times REST API response missing a header
Hi,
I looked again in how I do the request and found why I couldn't get the cors header.
I used this url:
http://www.hebcal.com/shabbat?....
The http response is 301 which doesn't include the cors header and includes a location header to use this url:
http://www.hebcal.com/shabbat/?....
This url works. notice the ending forward slash. I use angular js and it seems the forward slash was stripped. I forced it and now its ok.
Thanks,
Roi
9 years ago
Customer support service
by UserEcho
Roi Dayan
1.11
Registered:
9 years ago
Last activity:
9 years ago
User menu
1
Topics
1
Comments
I looked again in how I do the request and found why I couldn't get the cors header.
I used this url: http://www.hebcal.com/shabbat?....
The http response is 301 which doesn't include the cors header and includes a location header to use this url:
http://www.hebcal.com/shabbat/?....
This url works. notice the ending forward slash. I use angular js and it seems the forward slash was stripped. I forced it and now its ok.
Thanks,
Roi