can I use HTML POST method with Hollywood?

Find quick help here to get you started with Hollywood
Post Reply
Bugala
Posts: 1181
Joined: Sun Feb 14, 2010 7:11 pm

can I use HTML POST method with Hollywood?

Post by Bugala »

What I want to do is to have an option inside my game for people to join my mailing list.

Idea is that:

1. Player is shown a message "Join mailing list"
2. Player can write his name and email
3. clicking "join Mailing List"-button, for example browser would be opened which, using POST method would be sending this data given at step 2.

I would have wanted to use GET-method instead, since that had been easy, but Aweber doesnt allow using GET method, hence I am now looking at option to use POST method instead.

But is this doable some way?
plouf
Posts: 473
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: can I use HTML POST method with Hollywood?

Post by plouf »

DownLoadFIle support POST request in its table arguments, you can send the POST request and process it, then return an "ok" for example

also hURL plugin support far more complex requests (including https)
Christos
Bugala
Posts: 1181
Joined: Sun Feb 14, 2010 7:11 pm

Re: can I use HTML POST method with Hollywood?

Post by Bugala »

Thanks. That Downloadfile will probably solve my problem. Wouldnt have figured out to check that command for solution without you hinting about it. Have worked only very little with Hollywood internet stuff, mainly just OpenURL, so mostly a new world for me.
Post Reply