06-04-2007, 09:59 PM
Can you use https with IntPost? Any example
Thanks
Thanks
https
|
06-04-2007, 09:59 PM
Can you use https with IntPost? Any example
Thanks
06-05-2007, 05:36 AM
Don't remember, need to try. Instead of IntPost you can use functions of Http class.
Example ARRAY(POSTFIELD) a.create(2)
06-05-2007, 01:01 PM
Can you send a http header with it?
06-05-2007, 01:07 PM
06-05-2007, 03:37 PM
For some reason i cannot get the example you wrote to work. According to the requests its trying to connect to:
example.com:443/test/test.php This is causing qm to say server not found. I need it to connect to: https://example.com/test/test.php Is this possible?
06-05-2007, 04:35 PM
Use "example.com" with Connect. Use "test/test.php" with PostFormData.
06-05-2007, 04:48 PM
I changed it but it still appends :443 like
test.test.com:443/test/test.php Also, the variable that is sent has a whole bunch of %22, %20 ext.. in the string? Any thoughts on why?
06-05-2007, 04:56 PM
PostFormData urlencodes the data and adds "Content-Type: application/x-www-form-urlencoded" header. The server should urldecode it.
Appending :port to server is alternative way to specify port.
06-05-2007, 05:07 PM
I understand, I need to post to the following with the syntax below:
https://example.test.com/john/testss.php If i don't call it as above, the server won't respond. Is this possible? Thanks for all the help.
06-05-2007, 05:24 PM
Maybe there are hidden input fields that you don't send.
06-05-2007, 06:14 PM
Is there a way to post data as xml not x-www-form-urlencoded
06-05-2007, 06:53 PM
Needs editing Http.PostFormData and Http.Post functions. Make copies of them, edit these copies, and use them. In the first function, remove .escape(9) and change Post in this code:
,,s.formata("%s%s=%s" iif(i "&" "") s1.escape(9) s2.escape(9)) In the second function, change the content type header. However I don't know what is the content type string for xml. And not sure the server supports it. |
« Next Oldest | Next Newest »
|