Dear all,

I am trying to migrate a marmotta backup  to another new marmotta instance.
I tried the simple import thing and it got everything in there from the
export with a selection of all, but it was not browsable from
http://localhost:8080/marmotta/ldp.  I also could not do a GET as well to
get a similar response to the instance that I backed up.

So, I turned to curl.
After reading the LDP primer I found PUT does not allow for the creation of
LDP containers, so I guessed that PATCH would allow this

I tried:

curl -iX PATCH -H "Content-Type: text/turtle" --data @./ijsg.ttl -H
'If-Match: W/"1464384711000"' http://localhost:8080/marmotta/ldp/

and

curl -iX PATCH -H "Content-Type: text/turtle" --data @./ijsg.ldp -H
'If-Match: W/"1464384711000"' http://localhost:8080/marmotta/ldp/

I am getting a 401 unauthorized even though the security profile is set to
simple.

Is there something I need to change?

Thanks for your time.

-Brent Shambaugh

Reply via email to