Skip to content

Specs of the integration with GERBIL #27

@giusepperizzo

Description

@giusepperizzo

hello,
in the specs for the integration with GERBIL we noticed a couple of things we'd like to draw your attention on:

  1. << 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;
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions