eclipsesource / eclipsesource/restfuse

How to dynamically set Method type and content of a request

Open
#54 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
95
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.