Picnik Forums
   Home   Help Search Login Register Picnik.com  
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Print
Author Topic: No data when exporting via POST?  (Read 5037 times)
bitnik official steve
(bitnik)

posted: December 11, 2007, 04:23:26 PM

A few API users have contacted Picnik support with questions about how to handle HTTP POSTs from Picnik.  In particular, they think they're seeing no data sent to their _export URLs.

Keep in mind that when Picnik sends data to your server via HTTP POST, that request is coming from Picnik's servers.  This means that any response you generate (such as debug output) will then go back to Picnik's servers where you won't be able to see it.  Once the export is complete, Picnik will then redirect your browser to your _export URL (or your _redirect URL if you provide one) and it's the result of that HTTP GET operation that you'll see in your browser.

So, if you're trying to debug the results of a POST'd image export, make sure you save your debug output to a log file on your server instead of sending it back in the initial HTTP response.

Steve
galleton
Reply #1 posted: September 04, 2009, 10:35:47 AM

Hi Steve,
I have the same problem right now. I have posted new topics and appended old ones, sent private messagesto support but I can't still solve it.
Hi,
I know this is a very Old Post but I have exactly the same case. Installing The King of the Hill sample script at:
http://ezpin.com.mx/galerias_piknic/
I get no data in the Files Array, with the Push method.
The debug log file is in my server at http://ezpin.com.mx/galerias_piknic/img/debug.txt
This is what the debug.txt file shows:
FILES: Array
(
)

POST: Array
(
)

GET: Array
(
    [coronation] =>
)

Thank you anda best regards
Pages: [1]
Print
 
Jump to:  

Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media | © 2006-7 Picnik, Inc.