how to implement postman (javascript:ajax)generated code to a webpage
hi,
i have create a custom topology in mininet and have install opendaylight(lithium). on my opendaylight, i have install 'old-dlux-all' and 'odl-l2switch-switch-ui'.
i am trying to create a webpage that able to run api. i have use postman to generated code(javascript:ajax) but i don know how to implement the code to a web page
i have create a simple api web(get topology) to test out.
view.html
viewtopology.js
my question are
1)how do i implement postman generated code(javascript:ajax) to a webpage?
2)how do i show the output on my webpage?
many thanks in advance. :)