Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-20-2011, 07:55 PM
Rogier Rogier is online now
Registered User
 
Join Date: 09-09-2004
Location: the Netherlands
Posts: 40
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)
Reply With Quote
  #2  
Old 09-21-2011, 07:58 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Attached Files
File Type: bld http_post2.bld (1,013 Bytes, 6699 views)
Reply With Quote
  #3  
Old 02-22-2012, 02:27 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
This is fixed in 8.0.
Reply With Quote
Reply

Tags
file , http , output , post , request


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:10 AM.


Copyright © 1999-2023 Kinook Software, Inc.