i have some problem with this request :
When i make a request with value of 2017
No problem,
But when i make a request with value 2018 i got en error 404 on GET. But in the developer tools in tab Sources i have an output correct.
Thx for reply
I fix it with :
include_once('../../../../../wp-blog-header.php');
header("HTTP/1.1 200 OK");