[Solved] Post Requests

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

[Solved] Post Requests

Post 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!
Last edited by steeffeen on 25 Nov 2013, 03:50, edited 1 time in total.
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Gugli
    Nadeo
    Nadeo
    Posts: 536
    Joined: 14 Jun 2010, 17:35
    Location: Mon PC est à Paris, mais mon coeur rode dans les forêts de Lozère

    Re: Post Requests

    Post 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.
    --
    (>~_~)> ═╦═ ╔╦╗ <(~_~<)
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: Post Requests

    Post by steeffeen »

    okay thanks :)

    //Edit: issues fixed
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      Post Reply

      Return to “ManiaLink”

      Who is online

      Users browsing this forum: No registered users and 1 guest