Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
- Posts: 1461
- Joined: Tue May 28, 2013 2:20 pm
- Location: Italy
I was testing on a public web serve the result of livecode POST with this simple code:
Code: Select all
put "name=max&car=Ferrari" into temp
post temp to URL "https://posttestserver.com/post.php"
and I noted this log on server:
key: 'name' value: 'max'
key: 'car' value: 'Ferrari'
Empty post body.
Upload contains PUT data:
What is a POST body and how do you set it?
Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w
- Posts: 897
- Joined: Thu Nov 04, 2010 7:53 am
That should be in the HTTP body.. You can check this by either writing a quick debug server in LiveCode, packet sniffing, or using the developer tools in your web browser (Safari and Firefox have really nice tools to watch the requests and responses)