Create Resource fails

19 views
Skip to first unread message

Fred Hauschel

unread,
Jul 20, 2020, 2:34:02 PM7/20/20
to Trellis LDP

Hi again,
i try to create a resource like described https://github.com/trellis-ldp/trellis/wiki/Resource-Management#creating-resources.

POST /container HTTP/1.1
Content-Type: text/turtle
Slug: resource
User-Agent: PostmanRuntime/7.26.1
Accept: */*
Postman-Token: a2ee75e7-34b1-4f35-bbd1-085cf831a8c0
Host: localhost
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 247
Cookie: JSESSIONID=tHprpzzTAFbkcNCO2kgTLWY0xwf0AJ7wLSwd2E8s; XSRF-TOKEN=e95fec82-4540-4fc9-88af-4fd50ad72f88

@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<> a foaf:PersonalProfileDocument;
foaf:primaryTopic <#me> ;
dc:title 'Alice’s FOAF file' .
<#me> a foaf:Person;
foaf:name 'Alice Smith' .

HTTP/1.1 404 Not Found
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1
Content-Length: 418
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404 Not Found</h2>
<table>
<tr><th>URI:</th><td>/container</td></tr>
<tr><th>STATUS:</th><td>404</td></tr>
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
<tr><th>SERVLET:</th><td>io.dropwizard.jersey.setup.JerseyServletContainer-1e98b788</td></tr>
</table>
</body>
</html>

Is there somewhere a getting started for dummies ? ;-)

Best regards
Fredy

SoftwareEngineering Hauschel

unread,
Jul 20, 2020, 2:36:19 PM7/20/20
to trell...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "Trellis LDP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trellis-ldp/Bi6BwpdJg7M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trellis-ldp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trellis-ldp/139be374-f2a0-4278-beb1-08bcbde9e87en%40googlegroups.com.


--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092

Mein Strom kommt von http://www.naturstrom.de. Für eine saubere Zukunft!
Der Umstieg ist jederzeit völlig problemlos möglich: http://www.atomausstieg-selber-machen.de.

Aaron Coburn

unread,
Jul 20, 2020, 2:37:31 PM7/20/20
to trell...@googlegroups.com
Hi Fredy,
You'll need to create the /container resource before you are able to POST to it.

- Aaron



--
You received this message because you are subscribed to the Google Groups "Trellis LDP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trellis-ldp...@googlegroups.com.

SoftwareEngineering Hauschel

unread,
Jul 20, 2020, 3:17:32 PM7/20/20
to trell...@googlegroups.com
cool, got it! thanks.

You received this message because you are subscribed to a topic in the Google Groups "Trellis LDP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trellis-ldp/Bi6BwpdJg7M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trellis-ldp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trellis-ldp/CAD4uyLdSkHJ3QNZoW%3DrObugXNYeJeUh3Xxy6XhWm65a3W0x2PA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages