Page 1 of 1

HTTPRequest - supply HTTP return code

Posted: Tue Jan 12, 2016 1:42 pm
by SparrowhawkMMU
Hi Fred,

Would it be possible to supply the HTTP return code (eg 200, 503, 404 etc etc) made using HTTPRequest?

either:
1) by Making HTTPRequest a function rather than a keyword, with the return value being the HTTP code or 0 for a generic failure (disadvantage is that it would break any existing SB code)

2) as part of the parameters in the callback procedure

3) or maybe add a new function, such as GetLastHTTPReturnCode()

Additionally, if we could get access to the return headers, that would be great too.