Skip to main content

WHM DNS API - what does "unencoded" mean?

Comments

6 comments

  • cPanelMichael
    Hello, Can you verify what method you are using to test this API function? For instance, are you testing with an encoded URL with the API call in a web browser, or through the command line? Thank you.
    0
  • pv2b
    Hello. I'm writing a Powershell script to interact with the API. Find my code attached (maybe someone can find it useful as a sample...) It works fine for me right now (although I had to work around a few annoying Powershell bugs). That said, the API doesn't really care what's calling the method. I want to understand what "unencoded" means in terms of the spec of the API.
    0
  • cPanelMichael
    Hello, I notice the same behavior that you see in that the actual record that appears in the DNS zone doesn't appear to change based on the use of the unencoded parameter. I've opened internal case CPANEL-19498 to verify if there's another purpose for the "unencoded" parameter that's not fully documented. I'll monitor the case and update this thread with more information as it becomes available. Thank you.
    0
  • cPanelMichael
    Hello, To update, it looks like the parameter is accepted, but it's usage is filtered out. Thus, there currently doesn't appear to be a valid use of this parameter. I've opened an internal case (DOC-10543) with our Documentation Team to have our documentation updated to reflect this information. Thank you.
    0
  • pv2b
    Sounds good. That means I can probably get away with not passing that parameter into the API call at all. Thanks!
    0
  • cPanelMichael
    Hello, The "unencoded" parameter is now removed from the document. Thanks!
    0

Please sign in to leave a comment.