Search API returning null response

I am trying implement onemap search API in my website to retrieve postal code from addresses , it is working fine in my localhost and not working in server. And I found server is restricting the API calls, now the server enabled to access API with domain But still I am not getting any response from the server when I run the search API.
Can anyone help me to resolve the issue?