mql_requests icon indicating copy to clipboard operation
mql_requests copied to clipboard

How get status_code

Open Ruslan618 opened this issue 3 years ago • 1 comments

Thank, all work fine, but how i can get status_code on my request? The responce.status_code dont use in code. Can you help me plz.

Ruslan618 avatar Oct 13 '22 13:10 Ruslan618

I found colution. Need use function HttpQueryInfoA (wininet.h) with HTTP_QUERY_STATUS_CODE and conесе it to responce.status_code. Now all work good and can to use status code of answer.

Ruslan618 avatar Oct 14 '22 06:10 Ruslan618