when i am trying to get the response from api in webgl it is not working but in editor it working fine how to solve this
It can be cause of several reasons, you can see those error in the inspect option in your browser, just right click and navigate to console tab in the inspect.