Search found 3 matches

by jasanchez
Thu Aug 24, 2023 3:27 am
Forum: HTTPAPI
Topic: How do I get the http status code?
Replies: 1
Views: 5265

How do I get the http status code?

Maybe this is something already answered, sorry if so.
I just need to know how to always get the status code returned by the server.

Is it with http_header() or with http_error()?

TIA
by jasanchez
Fri Aug 04, 2023 12:25 am
Forum: HTTPAPI
Topic: How to add custom http headers
Replies: 3
Views: 9441

Re: How to add custom http headers

Excelent!
Thank you!!!!!
by jasanchez
Thu Aug 03, 2023 3:00 am
Forum: HTTPAPI
Topic: How to add custom http headers
Replies: 3
Views: 9441

How to add custom http headers

Hi,

It may have already been asked, but I just can't find it.
How do I add custom http headers, like x-date?

Thanks.

Javier Sanchez