Class Request
- java.lang.Object
-
- at.jonastuechler.gommehdnetjavaapi.Request
-
public class Request extends Object
All requests are handled here- Author:
- Jonas Tüchler
-
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.json.simple.JSONObjectpost(String query)Here the request is sent to api.gommehd.net/graphql and the response is returned.
-
-
-
Method Detail
-
post
public static org.json.simple.JSONObject post(String query)
Here the request is sent to api.gommehd.net/graphql and the response is returned.- Parameters:
query- JSONObject which is sent as POST- Returns:
- Response from api.GommeHD.net/graphql as JSONObject
-
-