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.
HTTPRequest - supply HTTP return code
- SparrowhawkMMU
- Posts: 291
- Joined: Wed Aug 19, 2015 3:02 pm
- Location: United Kingdom