Got it

RestFull API using USG6510E Firewall

Created: Jan 6, 2020 08:42:36Latest reply: Jan 7, 2020 02:51:58 1351 5 0 0 0
  Rewarded HiCoins: 5 (problem resolved)

Hi engineers!

I have this API configuration.

api

And this is the configuration from the console.

console


but when I am trying to send any request using API I just waiting for long time then get "This site can't be reached".

I tried to send this request,

https://10.10.0.254:8447/GET/restconf/syslog/remote-logging-action


but I get this error:

error

 


Please help me, where is my error, and why there is no response from API, thank you!

Featured Answers

Recommended answer

chenhui
Admin Created Jan 7, 2020 02:51:58

Posted by user_3683044 at 2020-01-06 10:58this is my last configwhen I am trying with this url http://10.10.0.254:8447/GET/restconf/data/ietf ...

Hello @user_3683044
site cannot be reached indicates that the URL is wrong.
Please try to modify the URL as http://10.10.0.254:8447/restconf/data/ietf-system:system-state?content=all


Thank you!


View more
  • x
  • convention:

All Answers

Hi@user_3683044.
Please refer to the link https://support.huawei.com/hedex/hdx.do?docid=EDOC1100092598&id=EN-US_TASK_0178941684&lang=en check if your configuration is correct hope to help you.

View more
  • x
  • convention:

Muhanned
Muhanned Created Jan 6, 2020 10:26:58 (0) (0)
thank you for reply , I did all config which is in the doc , but still could not get any things even the page can not load  
jason_hu
jason_hu Reply Muhanned  Created Jan 8, 2020 07:16:37 (0) (0)
Try using the CLI for reconfiguration or modify the URL https://support.huawei.com/hedex/hdx.do?docid=EDOC1100092598&id=EN-US_TASK_0178941674&lang=en  

this is my last config

ewr

wer


سسس



when I am trying with this url 

http://10.10.0.254:8447/GET/restconf/data/ietf-system:system-state?content=all 

I get this site can not be reached 

Please help me 

View more
  • x
  • convention:

Posted by user_3683044 at 2020-01-06 10:58this is my last configwhen I am trying with this url http://10.10.0.254:8447/GET/restconf/data/ietf ...

Hello @user_3683044
site cannot be reached indicates that the URL is wrong.
Please try to modify the URL as http://10.10.0.254:8447/restconf/data/ietf-system:system-state?content=all


Thank you!


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.