Hey @wifi iot ,
You can easily test the Azure IoT Hub Service REST API with Postman or others. It is important to use the right authentication against IoT Hub, here are the options listed iot-hub-devguide-security
For accessing the Service API and Device Twins as part of the Device Registry, you might want to use either Azure AD or a Shared Access Signature (SAS).
If you use the SAS, HTTPS implements authentication by including a valid token in the Authorization request header. To generate a SAS for your IoT Hub, you can use Visual Studio Code IoT Hub Tools, Azure CLI with IoT extension az iot hub generate-sas-token
or one of the code samples provided in the docs iot-hub-dev-guide-sas. Ensure to use the right policy (IoTHubOwner will do it - you might want to limit access by using a different policy).