Put JSON to API Endpoint using WifiNina Library

This solution: How to POST JSON data from NANO 33 IOT? - #9 by Klaus_K worked for me. It uses the HTTP library instead of WifiNina to send the data.