app inventor 2 POST
17,792
Solution 1
add requestheaders:content-type:application/x-www-form-urlencoded
and buildrequestData
Solution 2
the webviewer
only can do GET
this should work:
using the web
component, you get the result back in the Web.GotText
event
see also the documentation
Author by
Admin
Updated on September 15, 2022Comments
-
Admin over 1 year
I want to integrate a
webviewer
component in anappinventor
app.I want the app to
POST
something to already preparedPHP
script. I do not want to useGET
. SoPHP
on server looks like:<?php echo $_POST['value']; ?>
My
appinventor
block looks like:This is NOT working. Any help appreciated. Thanks.
EDIT: 2nd try. Thank you @YiWei.