cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

cPanel/WHM API Shouldn't be Case Sensitive

cPAlexT shared this idea 4 years ago
Open Discussion

As a cPanel administrator, I find it cumbersome to have to worry about the casing of my API parameters when dealing with various API endpoints. Some parameters are specified in lower case, and others are specified in all upper case. This requires referring to the API documentation to determine which is correct for that particular call.


The API shouldn't care about casing in parameters.


The whmapi1 modifyacct module is a good example of this: https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+modifyacct

Leave a Comment
 
Attach a file