Currently, I am looking to share my data from my personal postgresql database by creating an API. In this case, I plan on utilizing the WSO2 API manager for the process.
I am uncertain if I am proceeding in the correct manner, so any advice on the different possibilities would be greatly appreciated.
(i) Initially, I have set up a postgresql database.
(ii) Afterwards, I established connections and executed CRUD operations using node js.
(iii) When publishing the api, I incorporated the link (e.g., GET verb with the endpoint http://localhost:8000/v1/api) in the WSO2 API manager as a REST endpoint.
(iv) *****step********
(v) Additionally, I created a basic HTML page where I utilized Javascript to parse JSON data and display it. It is worth noting that this was done directly with JSON data and not through the WSO2 API.
******step********
Could you please provide guidance on how to correctly use the consumer key and consumer id for authenticating the API from WSO2 in order to parse the data using Javascript?