Make sure that the url is taken from RESTAPI BASE URL
We can also change the base url of RESTAPI. Make sure same is replicated in HTTP Input node request url
Example url is mentioned below.
NOTE : Make sure that VPN is not connected while posting the data using REST client.
Add the customer details to Mongodb database “Customer” and collection “Customerdb”
Retrieve the required data using GET operation and id
Example id : 5e732adfaa0e0938f04baeee
Example url : http://localhost:7800/testmongodb/Customer/1.0.0/customers/5e732adfaa0e0938f04baeee
Similarly for the update operation we need to PUT and change the required data
Updated in mongodb for that particular document.
NOTE:
To debug more if any errors occur :
Set DEBUG=* in mqsiprofile.cmd and start broker
C:\ProgramData\IBM\MQSI\components\
→ This file shows all the information about the loopback connection