How can i bypass the js if i m using my wesbsite on c# html

my website gets daily attacked by attackers and website gets shut down so when i enable the js of cloud fare which ask for captcha verification then the apis i m using dont work gives exception how can i fix this that js should be always enable and the apis should work normally.