Erste Ansätze der HTTP-Client integration

This commit is contained in:
2023-12-14 16:53:52 +01:00
parent ea8c810f13
commit 4a97fee7e7
4 changed files with 193 additions and 13 deletions

View File

@@ -0,0 +1,40 @@
/**
* @author Samuel Wolff
* noch nicht getestet
*
* TODO Json hinzufügen
*/
package RestAPISchnittstelle;
public interface IRestAPI {
// region Get
void get(String controllerName);
void get (String controllerName, int id);
void get (String controllerName, int id, boolean bezahlt);
//endregion
// region put
void put (String controllerName, int id, String jsonData);
// endregion
// region POST
void post (String controllerName, String jsonData);
// endregion
// region DELETE
void delete(String controllerName, int id);
// endregion
}