-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
hello,
in the specs for the integration with GERBIL we noticed a couple of things we'd like to draw your attention on:
- << curl -d "@smt" >> generates an error. Example:
curl -H "Content-Type:application/x-turtle" -H "Accept:application/x-turtle" -d "@smt" http://nerd.eurecom.fr/api/adel
Basically, the @ is a reserved character (curl expects a file name afterward) and it should be escaped; - the POST should be better specified, either as:
a- form based
"(HTTP) Sends the specified data in a POST request to the HTTP server, in the same way that a browser does when a user has filled in an HTML form and presses the submit button. This will cause curl to pass the data to the server using the content-type application/x-www-form-urlencoded."
which means the body content in the form key1=value1&key2=value2
b- multipart content-type multipart/mixed
Finally, just to avoid any potential issues when tested by GERBIL, would you mind to share the sample Java client that will trigger the queries toward the contending entries?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels