Created
May 21, 2020 17:01
-
-
Save escowles/20475662fb704798f2a95fe6113122ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
N=$RANDOM | |
curl -X PUT http://localhost:8080/rest/$N | |
echo | |
curl -X PATCH \ | |
-d "INSERT { <> <http://example.org/foo> \"test updated value\" } WHERE {}" \ | |
-H "If-Unmodified-Since: Wed, 21 Oct 1955 07:28:00 GMT" \ | |
-H "Content-Type: application/sparql-update" \ | |
http://localhost:8080/rest/$N | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment