On May 3, 4:24 pm, "Bob T." <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a situation where I would like a view to do a redirect to a URL > that is expecting POST (rather than GET) data. GET would be easy, but > how can I do a POST redirect? The URL I would be redirecting to is not > under my control, so I can't just change it to use GET data. > > Thanks, > Bob
Bob, It entirely depends on what you're trying to do, but as you've described it, the only way I know of is using JavaScript on the view page that submits the POST data. If the target site was under your control, there'd probably be other ways of doing it. If I were an expert in JavaScript, I'd give you an example, but I believe HttpRequest is the place to start. HTH, Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---