Nisutec 0 Posted September 16, 2018 Share Posted September 16, 2018 How I can send a Post request with one value ? My request don't work. Quote Link to post Share on other sites
0 Solution Ta©ti Tac0Z 2 Posted September 16, 2018 Solution Share Posted September 16, 2018 so i made a little test php script on my website: http://test.noahtg.com/postTest.php you can try to do this: internet.request("http://test.noahtg.com/postTest.php", {p = "steve"}) that should give you (amoung some html code) a list of all post data that got transfered sysesfully Nisutec 1 Quote Link to post Share on other sites
0 Ta©ti Tac0Z 2 Posted September 16, 2018 Share Posted September 16, 2018 So You should be abble to have a single value in side the table i whould try to create a test php script to test if the value goes frow it chould be the website You trying to use that is broken. EDIT: am working on a php script for you... Quote Link to post Share on other sites
0 Nisutec 0 Posted September 16, 2018 Author Share Posted September 16, 2018 Ok and how I can send one string as value ? {p} And thx for the Website. Quote Link to post Share on other sites
0 Ta©ti Tac0Z 2 Posted September 16, 2018 Share Posted September 16, 2018 am not sure what you mean? {p = player} is one value? it should work? Quote Link to post Share on other sites
0 Nisutec 0 Posted September 16, 2018 Author Share Posted September 16, 2018 p = „Nisutec“ i will use the variable p to send the name. Quote Link to post Share on other sites
0 Ta©ti Tac0Z 2 Posted September 16, 2018 Share Posted September 16, 2018 yes but you have to have a key value you cannot do {p} php (the api) will think you're trying to have the key 1 as a number php can't do that and will ignorre the post data EDIT: am not too sure what the problem is Quote Link to post Share on other sites
0 Nisutec 0 Posted September 16, 2018 Author Share Posted September 16, 2018 32 minutes ago, Ta©ti Tac0Z said: yes but you have to have a key value you cannot do {p} php (the api) will think you're trying to have the key 1 as a number php can't do that and will ignorre the post data EDIT: am not too sure what the problem is ok it works thanks for your help. Quote Link to post Share on other sites
0 Ta©ti Tac0Z 2 Posted September 16, 2018 Share Posted September 16, 2018 you're welcome Quote Link to post Share on other sites
How I can send a Post request with one value ?
My request don't work.
Link to post
Share on other sites