The body of POST

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Posts: 1540
Joined: Tue May 28, 2013 2:20 pm
Location: Italy

The body of POST

Post by MaxV » Mon Oct 24, 2016 11:33 am

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 ""
and I noted this log on server:
Post Params:
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:
My blog:
To post code use this:

Posts: 907
Joined: Thu Nov 04, 2010 7:53 am

Re: The body of POST

Post by shaosean » Wed Oct 26, 2016 7:14 am

Code: Select all

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)

Post Reply

Return to “Internet”