In an attempt to circumvent a whole pile of code that could be contributing to the Memory Leaks problem, I have started from scratch with the barest minimum code.
Regardless of what I try I end up with either “Invalid Requests”, “404 errors” or “Invalid media type”
This is what I’m POSTing;
httpClient.Post('https://api.betfair.com/exchange/betting/rest/v1.0/listEventTypes/',lParamList);
where IParamlist is
lParamList := TStringList.Create;
lParamList.Add('{"filter" :{}}');
And the response is “Invalid media type”
So I’m not getting anywhere, and time is running out…
If I can't find a way around these memory leaks, the whole thing is sunk.
Regardless of what I try I end up with either “Invalid Requests”, “404 errors” or “Invalid media type”
This is what I’m POSTing;
httpClient.Post('https://api.betfair.com/exchange/betting/rest/v1.0/listEventTypes/',lParamList);
where IParamlist is
lParamList := TStringList.Create;
lParamList.Add('{"filter" :{}}');
And the response is “Invalid media type”
So I’m not getting anywhere, and time is running out…
If I can't find a way around these memory leaks, the whole thing is sunk.


Comment