Jump to content




HTTP Post


  • You cannot reply to this topic
2 replies to this topic

#1 bigbrainiac10

  • Members
  • 41 posts

Posted 22 August 2014 - 12:39 PM

Hi, I'm having a bit of trouble using the post function in the HTTP api.

I know the arguments, and I've managed to use it with php
php://input

However, I want to be able access certain data using
$_POST['blah']

But the problem is, I don't actually know how to properly format a post request string.

Does anyone know how?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 22 August 2014 - 04:16 PM

You could try reading through the built-in pastebin program.

#3 bigbrainiac10

  • Members
  • 41 posts

Posted 22 August 2014 - 07:26 PM

*Facepalm*

Never even thought of that... I feel dumb.

I'll go take a look now, thanks a lot. :)





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users