Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Http Headers
#1
figured it out
#2
What function you use to post? Or you only want to insert string variable into another string?
#3
I use IntPost.

However, i get this error: Internet error: The requested header was not found
#4
When I test with php, headers are added.

Code:
Copy      Help
out
str s
IntPost("http://www.quickmacros.com/form2.php" "" s "My-header: aaa")
;IntPost("http://www.quickmacros.com/form2.php" "" s "My-header: aaa[]My-header2: bbb")
out s

What string is in b[2]? Is b type ARRAY(str)?
#5
How can i specify my own headers to be sent.
#6
IntPost uses Windows API function HttpSendRequest. It always inserts some headers. To send only your headers you probably could use winsock functions. It is not so easy. I cannot give an example.


Forum Jump:


Users browsing this thread: 1 Guest(s)