Django Deployment vs Local Code Execution

in my local server ( windows ) my project works fine, when i send a month from the filter via post request to my backend view it does its processing however in deployment (linux based server ) that requests somehow turns into a get request and doesnt send anything. We use ajax to send the request via fetch(url)
Any assistance would be greatly appreciated