问题
In my Application, I have the 300 user permissions for user role 'admin'. As a super admin, added a new admin users means, need to enable the user permissions for this admin user. If I choose below 100 and sent it to the backend via API call POST method, I can able to get the success response.
But, If I'm selecting more than 100 means, I couldn't able to get the success response. It's throwing error message like 'POST request Exceeded'.
回答1:
I'm sure, ColdFusion has some settings for this. So, I just read ColdFusion server settings docs and found the solution.
For Fixing this issue follow the below steps,
- Logged in to CFAdmin
- Go to 'settings' under the 'server settings' section.
- In the bottom of the page, CF has 'Maximum number of POST request parameters' as 100. We need to change that 100 into 300.
- Also, need to set the 'Maximum size of post data'. by default, 20 MB. So, Need to change this also.
- After changing the default values, We need to restart the CF server.
来源:https://stackoverflow.com/questions/55673021/how-to-fix-post-request-exceeded-error-while-we-passed-the-number-of-parameter