07-15-2016, 07:55 AM
Ah, you're using POST method, that one doesn't support params in the URL. Either use GET, or wrap the params into a POST reuqest data properly (<form> HTML element)
Random Chitchat 2012-2016
|
07-15-2016, 07:55 AM
Ah, you're using POST method, that one doesn't support params in the URL. Either use GET, or wrap the params into a POST reuqest data properly (<form> HTML element)
Is there a reason why we're disabling GET variables in a POST? It makes this all a whole lot more complicated. Anyone coming from web development would probably find it confusing.
Also, I'm not getting any parameters. Not even my POST values. I'm not using a form, but instead use an AJAX request.
07-16-2016, 12:06 AM
There would be no way to distinguish between parameters coming in from the URL and those coming from the POST body. I'm no longer sure what the HTTP standard says, if it says anything at all.
In order for the params to be parsed, you need the correct Content-type - "application/x-www-form-urlencoded" or "multipart/form-data" (see HTTP/HTTPFormParser.cpp for the implementation) Anyway, you could still use the cUrlParser to parse the params out of the URL yourself, although this is needlessly difficult. Thanks given by: NiLSPACE
07-16-2016, 12:59 AM
We could simply add a constant for every method.
Code: Request.GET
07-18-2016, 05:15 PM
The DigitalOcean installation server is still on one of @bearbins private servers. Should we change that
07-18-2016, 06:58 PM
I'm actually thinking of shutting it down, nobody is using it anymore and I think the code behind it is broken.
07-18-2016, 06:59 PM
Would anybody be opposed to me just turning it off?
07-18-2016, 08:11 PM
No problem here
Also: Holy crap, I've reached 10 months on being active on the forum :O
07-19-2016, 01:51 AM
Woohoohoohoooo!
07-19-2016, 01:51 AM
(This post was last modified: 07-19-2016, 01:52 AM by sphinxc0re.)
@bearbin shut it down!
|
« Next Oldest | Next Newest »
|