Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up operation invoke (request) #32

Closed
tpluscode opened this issue Jul 15, 2019 · 0 comments
Closed

Setting up operation invoke (request) #32

tpluscode opened this issue Jul 15, 2019 · 0 comments

Comments

@tpluscode
Copy link
Member

The request input should be customisable in a given Invoke block. At least two options are necessary: body and headers.

Here's a possible structure, adding a second block for setting up the request a'la HTTP syntax

With Operation "CreateMovie" {
    Invoke {
        // headers like in HTTP
        Content-Type text/turtle

        // body in backticks like markdown
        ```
        <> a mov:Movie ; schema:title "Rocky 8" .
        ```
    } => {
        // response & representation checks
    }
}
tpluscode added a commit that referenced this issue Jul 25, 2019
adds the possibility to set request headers and body

fix #32 fix #42
tpluscode added a commit that referenced this issue Jul 26, 2019
adds the possibility to set request headers and body

fix #32 fix #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant