update on this - looking at the curl ascii trace, I'm getting a 401 back
from Marmotta...

< HTTP/1.1 401 Unauthorized

HTTP/1.1 401 Unauthorized

< Server: Apache-Coyote/1.1

Server: Apache-Coyote/1.1

* Authentication problem. Ignoring this.

< WWW-Authenticate: Basic realm="Apache Marmotta"

WWW-Authenticate: Basic realm="Apache Marmotta"

< Content-Length: 0

Content-Length: 0

< Date: Mon, 04 Mar 2019 00:08:05 GMT

Date: Mon, 04 Mar 2019 00:08:05 GMT

I was trying w/o any user/pass and found this - then I logged in with admin
/ pass123 and I got the same thing...




On Sat, Mar 2, 2019 at 7:46 PM Alan Snyder <alan8...@gmail.com> wrote:

> Trying to get RDF Patch to work... I have an LDP endpoint setup at
>
> http://localhost:8080/ldp/container1
>
> created with the examples on the Marmotta LDP page (
> http://marmotta.apache.org/platform/ldp-module.html)
>
> curl -i -X POST -d @test.ttl -H "Content-Type: text/turtle" -H "Slug: 
> container1" http://localhost:8080/ldp
>
>
> And I've added some triples to it with above - they show up when browsing
> directly http://localhost:8080/ldp/test.   I'm trying to patch this with
> the following curl...
>
> curl --data 'A <http://blah.com/ALAN> <http://blah.com/name> <
> http://blah.com/ALAN> .' -X PATCH -H "Content-Type:
> application/rdf-patch" http://localhost:8080/ldp/container1
>
>
> But I get the following error... "request did not contain a supported
> HTTP method"
>
> If I use POST it seems to create data as binary, LDP-NR I guess, so it
> seems the PATCH verb just isn't supported out of the box... ?
>
> Thanks!
>

Reply via email to