I believe that there’s a typo in your command. Please try:
curl “http://0.0.0.0:8998/helloworld?apikey=YOUR_API_KEY”