angularjs - API Request timeout issue -
i calling 1 post api give me response after period of time after completing job. job taking time complete , getting timeout error in api response.
can me resolve this? there have set before calling api keep api call alive until gets response? in advance.
i tried below solutions didn't worked me
- in http post call set header "connection":"keep-alive"
- used timeout property still didn't worked
please set timeout value keep-alive. setting connection type not work in scenario. should set properties of keep-alive. try luck , let me know if query.
Comments
Post a Comment