Can anyone show me a way to test node using rest

Hi,

Can anyone guide me how to test the node in orion using python rest api.

This is very crucial for me as I will be using this in multiple scenarios:

1. I need to validate the node's credential whenever I add it

2. I will be updating the credential set in some situations and check for its connectivity.

Thanks in advance