Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (http://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Can't save result from HTTP step to file when using Post? (http://www.kinook.com/Forum/showthread.php?t=4912)

Rogier 09-20-2011 07:55 PM

Can't save result from HTTP step to file when using Post?
 
My first issue with the HTTP step in my other topic was solved, however I'm facing another problem:

Normally you can write the result from the HTTP request to a file (or a macro, or just discard it = none). However when using Post to include form data, the output does not seem to be written to a file anymore? I can still see the output in the VBP log (when enabling Log: Data in the HTTP step), but what I need is saving the output to a file.

Maybe I'm mistaken, but it seems to make a distinction between either Get something *OR* Post/Put something. Of course the latter can still give a normal result i.e. http output (just like when using Get), which I'd like to save to a file just as much :)

(I understand the difference between HTTP POST and GET requests, but obviously in either case the server can return stuff)

kinook 09-21-2011 07:58 AM

1 Attachment(s)
It does look like the 'Get to file' option is in fact ignored for 'Post form data,' which we will add to the bug database. But for now, you can use 'Get to macro' instead, and then write the macro to a file. See the attached sample.

kinook 02-22-2012 01:27 PM

This is fixed in 8.0.


All times are GMT -5. The time now is 03:35 PM.


Copyright 1999-2019 Kinook Software, Inc.