how to customize http request header when accessing a Data Service(HTTP)?

13 views
Skip to first unread message

Ryec

unread,
Feb 21, 2012, 12:40:00 AM2/21/12
to au...@googlegroups.com
I have a Data Service (HTTP) which will return either html or json, based the value of 'Accept' in the http request header.

In my Flex application, I've setup this Data Service(HTTP), and a Data Grid to render the data from the HTTP Service.

My questions is: how to set Accept: application/json in the http request header for the Data Grid?

Thanks

Ticore Shih

unread,
Feb 21, 2012, 12:58:48 AM2/21/12
to au...@googlegroups.com
Modifying HTTPService Header Values


--
您收到此郵件,是因為您訂閱了 Google 網上論壇的「台灣 Adobe 使用者俱樂部 」群組。
如要在此群組張貼留言,請寄電子郵件至 au...@googlegroups.com
如要取消訂閱此群組,請寄電子郵件至 augtw-un...@googlegroups.com
如需更多選項,請造訪此群
組:http://groups.google.com.tw/group/augtw?hl=zh-TW?hl=zh-TW



--
Ticore's Blog
http://ticore.blogspot.com/
Reply all
Reply to author
Forward
0 new messages