How to access POST Rest API using DLUX

asked 2015-08-10 00:23:13 -0800

rmohamed gravatar image

Hi All,

I am able to access get API using DLUX but i am not able to access POST api using DLUX framework. Please help on this issue.

Thanks, rmohamed

edit retag flag offensive close merge delete

Comments

Can you provide more details to your question? are you referring to the Yang UI interface? what is the specific POST request you are trying to make?

jamoluhrsen ( 2015-08-10 13:33:03 -0800 )edit

I have created new bundle to expose GET and POST api. From DLUX GUI i am able to access and get the data from GET API but not able to access POST api from DLUX code.

rmohamed ( 2015-08-10 23:11:50 -0800 )edit

From below API, http://locahost:8181/restconf/operations/test:getData // able to access http://localhost:8181/restconf/operational/test:postData/ // Not able to access

rmohamed ( 2015-08-10 23:12:22 -0800 )edit

Hopefully someone can help you further, as this is not something I know about. It looks like you are just trying to make REST calls and not using anything related to DLUX, but I could be missing something.

jamoluhrsen ( 2015-08-11 10:15:24 -0800 )edit