8000 How to dynamically set Method type and content of a request · Issue #54 · eclipsesource/restfuse · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How to dynamically set Method type and content of a request #54
Open
@ravijo

Description

@ravijo

I am newbie here. I have below two questions.

(1) How to set Method type without annotation? Is there any such method which can set the request method i.e. POST/GET?

(2) Most of our REST service, take JSON data as input. How I can set this JSON data without annotation? Since I need to pass these JSON data from an external file dynamically,so I can't use annotation. I saw a sample code here (https://github.com/andreasmihm/restfuse/blob/master/com.eclipsesource.restfuse.example/src/com/eclipsesource/restfuse/example/DynamicBodyTest.java) but I am using latest build of restfuse and unable to get RequestContext.setDynamicBody(String) method.

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0