Error: getaddrinfo ENOTFOUND devapi.domainname.com

My Url is right. Unfortunately, when i tried, I couldn’t send a request in later 5 seconds. As a solution, I turn my internet off and on again and I can send the request I want to send in 5-10 seconds. But I am starting to get this error again. Could you help me pls ?