Page 1 of 1

[Solved] Post Requests

Posted: 21 Jun 2013, 15:58
by steeffeen
hey there,

i'm wondering if it's possible to post data with maniascript?

i know it's possible to set the url tag of controls with url="POST(manialink?nope)" but i would like to open a link via maniascript with data attached via POST

Code: Select all

OpenLink("POST(manialink?nope)", CMlScript::LinkType::Goto);
doesn't work :(
the opened url keeps being manialink?nope and not only manialink

thanks in advance!

Re: Post Requests

Posted: 21 Jun 2013, 16:03
by Gugli
You should be able to use HttpManager.CreatePost("Url", "Resource");
But I think there's still some bugs in the version you have. Should be fixed in next exe update.

Re: Post Requests

Posted: 21 Jun 2013, 16:07
by steeffeen
okay thanks :)

//Edit: issues fixed