csv save of web request fails for large data

Hi All, 

Quick question with an issue I am facing in saving a csv file by doing a browser query . 

I am doing a basic 

http://<hostname>:<port>/file1.csv?select%20Field1%2cField2%2cCondition%20from%20TableA%20where%20date%20within%202019.06.01%202019.09.25%2cMyField=%60ABCDEF

This works great when date range is small . When date range increases , the browser query works, however , the .csv? fails . I have to remove the file1.csv from above and it works fine . 

It throws “HTTP 400 Bad Request - The webpage cannot be found” 

Can you please help 

Thanks

Suraj K