403ModSecurity Action

I am making a POST call to SAP using my REST API. When I am using elastic URL I am getting the data expected but when I using the ON-premise secured URL I am not getting the output instead it is saying
"

403 - Forbidden: Access is denied. < !-- body { margin: 0;

403 - Forbidden: Access is denied.

You do not have permission to view this directory or page using the credentials that you supplied.

" I have given the authorization as well. Can someone please suggest how to rectify or handle the error.