[Grok-dev] Re: Using POST request
faassen at startifact.com
Fri Mar 21 11:51:34 EDT 2008
Andreas Jung wrote:
> --On 21. März 2008 16:14:53 +0100 Martijn Faassen
> <faassen at startifact.com> wrote:
>> Andreas Jung wrote:
>>> python2.4 setup.py sdist upload -r
>> Doesn't this need to be:
> There is basically only the application (which is also a model).
> So basically I want to post against the application object because
> are no further content objects.
Okay, so you made the root object (at localhost:8080) be the
grok.Application object 'eggserver'? I'm just double-checking as usually
you install them separately.
I notice that in my own REST code I manually set the status to 200 using
a line like:
But this shouldn't be necessary though.
Can you get GET/PUT/DELETE to work? I.e., is this just a problem with
POST, or also with the other HTTP methods?
More information about the Grok-dev