Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

cPanel/WHM API Shouldn't be Case Sensitive

cPAlexT shared this idea 7 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