How to modify mock api using the service node?

I have a mock api. with json format as below
{“123456789”: ‘password’}.

Whenever user provides a new password, i need to update the password in the mock api tagged to the phone number.

Hi @csaitharun,

Apologies for the delayed response.

We infer from your post that you would like to update the object value in the API data. The API should be accepting the POST method.

The service node will prompt the user for inputs to the configured parameters for the API. Kindly refer the following link:

https://developer.kore.ai/docs/bots/bot-builder-tool/dialog-task/working-with-the-service-node/#Defining_a_Custom_Service

Let us know if you are unable to proceed further with this information.

Regards,
Yoga Ramya.