Page 1 of 1

API calling

PostPosted: Mon Dec 14, 2020 4:56 am
by sateesh_cis
hi,

here i was trying to an agent api

http://server/agc/api.php?function=version

it is getting no-response when i hit on postman

when i replaced 'server' in the url with my ip address (it is added to the while-list already) i was getting 404 response

could you please help me how i call api exactly?

Thanks

Re: API calling

PostPosted: Sat Dec 19, 2020 3:14 am
by Kabis
Did You enable APi access for the user and also your api need with user and user password.

Eg:
http://server/agc/api.php?source=test&u ... =webserver

Re: API calling

PostPosted: Tue Dec 22, 2020 12:41 pm
by sateesh_cis
yeah, sorry, i missed those details at start.
after including my user and password it's working fine.
Thank you.