Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

API json-api does not come the answer

Discussion in 'cPanel Developers' started by hostserver, Aug 4, 2014.

  1. hostserver

    hostserver Active Member

    Joined:
    May 27, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    151
    cPanel Access Level:
    Root Administrator
    Hi,
    We use json-api and when you call do not get response from the server.
    Examples:

    XX.XX.XX.XX - xxxx [08/01/2014:15:42:37 -0000] "GET /json-api/changepackage?pkg=NIC-C&user=user1 HTTP/1.1" 200 0 "" "BROODEX API CLIENT" "accesshash"
    XX.XX.XX.XX - xxxx [08/01/2014:19:57:48 -0000] "GET /json-api/suspendacct?reason=order+expired&user=user1 HTTP/1.1" 200 0 "" "BROODEX API CLIENT" "accesshash"

    How can I fix it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Are you making the call directly in your browser? Could you let us know the exact URL you are using as opposed to the entry from the log file?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hostserver

    hostserver Active Member

    Joined:
    May 27, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    151
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPAndrewHodge

    cPAndrewHodge cPanel UI Developer
    Staff Member

    Joined:
    Dec 10, 2012
    Messages:
    52
    Likes Received:
    3
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
  5. hostserver

    hostserver Active Member

    Joined:
    May 27, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    151
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice