HTTP Request Timeout


#1

Hello,

I got a simple http request which send Data to my Rest-Endpoint.
Sometimes the request produce an timeout. When im looking at my Rest-API logs the Request was send successfully and the sendet data got stored.

But my app think it got an timeout and stores the data to send it when an internet connection is etablished.
So i got some dupplicates in my Database.

Somebody ever had the same issue or knows how to solve this problem?

thanks in advance :slight_smile:


#2

You must design your database constraints or your REST protocol to deal with this situation. It isn’t something that the client app can do anything about.


#3

thanks, i managed it as you described