Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / AGK Version 2 :: How do you set a HTTP custom request header?

Author
Message
ToeKnee
20
Years of Service
User Offline
Joined: 12th Sep 2003
Location:
Posted: 19th Sep 2014 07:06 Edited at: 2nd May 2016 23:34
When making a http request from my game, I need to be able to set 2 request headers that are required by my server:

"Accept","application/xml"
"Content-Type","application/xml"

Hopefully setting custom headers is supported since most servers require special values in many cases.

----------------
Was this ever added? I don't see it in the documentation. It was about 2 years ago when the original post was created.
Scary Little Rabbit
14
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 19th Sep 2014 14:37 Edited at: 19th Sep 2014 14:40
currently there is no way to do it, but it will be in future maybe.
Quote: "Quote: "If you have time, could you possibly add a SetHTTPHeader( ) command?"

I've made a note of it"
link

I hope so.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs

Login to post a reply

Server time is: 2024-04-28 02:26:43
Your offset time is: 2024-04-28 02:26:43