# AXAPI not working

**URL:** <https://community.a10networks.com/t/axapi-not-working/590>\
**Category:** System\
**Created:** [February 10, 2020, 1:07pm UTC](https://community.a10networks.com/t/axapi-not-working/590 "2020-02-10T13:07:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhinav](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@abhinav](https://community.a10networks.com/u/abhinav)\
**Post date:** [February 10, 2020, 1:07pm UTC](https://community.a10networks.com/t/axapi-not-working/590/1 "2020-02-10T13:07:53Z")

</div>

HI guys,

I am trying to fetch details of a10 using axapi but it is not working for me.

I am issuing this command " \*\* curl -k GET -H “Content-Type:application/json” -H “Authorization: A10 61d63f9924b7a8eecd1441d5fa274b”&nbsp;\*\*"

it is giving the error like below

curl: (6) Could not resolve host: GET

**{**

\*\*&nbsp;“response”: {\*\*

\*\*&nbsp;&nbsp;“status”: “fail”,\*\*

\*\*&nbsp;&nbsp;“err”: {\*\*

\*\*&nbsp;&nbsp;&nbsp;“code”: 1023656960,\*\*

\*\*&nbsp;&nbsp;&nbsp;“from”: “JSON”,\*\*

\*\*&nbsp;&nbsp;&nbsp;“msg”: “URI not found.”,\*\*

\*\*&nbsp;&nbsp;&nbsp;“location”: “resource-tracking”\*\*

\*\*&nbsp;&nbsp;}\*\*

\*\*&nbsp;}\*\*

**}curl: (6) Could not resolve host: H**

**curl: (3) Port number ended with ‘a’**

please help me to solve this problem.

---

<div class="post-metadata">

**Author:** ![john\_allen](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@john\_allen](https://community.a10networks.com/u/john_allen)\
**Post date:** [March 18, 2020, 1:29pm UTC](https://community.a10networks.com/t/axapi-not-working/590/2 "2020-03-18T13:29:34Z")

</div>

If you do not have a DDoS license (IE\> TPS), calls to the ‘/ddos/’ part of the aXAPI will return that error. A better call might be: [https://192.168.111.134/axapi/v3/system-cpu/oper](https://192.168.111.134/axapi/v3/system-cpu/oper) if you are just trying to get the CPU % readings.
