Hallo Zusammen,
ich versuche meiner API über den Baustein HttpRequest daten zu senden.
Wie muss das Format in "Data to Send" aussehen?
Aktuell konvertiere ich einen Json String in "http entity" - doch das wird nicht akzeptiert:
[HttpRequest] Cause:
java.lang.IllegalArgumentException: Can not set org.apache.http.HttpEntity field de.vertico.starface.module.core.runtime.functions. http.HttpRequest.httpEntity to java.lang.String
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllega lArgumentException(UnsafeFieldAccessorImpl.java:16 7)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllega lArgumentException(UnsafeFieldAccessorImpl.java:17 1)
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(Unsa feObjectFieldAccessorImpl.java:81)
at java.lang.reflect.Field.set(Field.java:764)
at de.vertico.starface.module.core.runtime.executable s.JavaFunctionExec.executeImpl(JavaFunctionExec.ja va:112)
at de.vertico.starface.module.core.runtime.executable s.BaseExec.execute(BaseExec.java:115)
at de.vertico.starface.module.core.runtime.LoadedModu le.invokeFunction(LoadedModule.java:213)
at de.vertico.starface.module.core.runtime.LoadedFunc tion.invoke(LoadedFunction.java:74)
at de.vertico.starface.module.core.runtime.RuntimeEnv ironmentImpl.invokeFunction(RuntimeEnvironmentImpl .java:225)
at de.vertico.starface.module.core.runtime.executable s.FunctionCallExec.executeImpl(FunctionCallExec.ja va:128)
at de.vertico.starface.module.core.runtime.executable s.BaseExec.execute(BaseExec.java:115)
at de.vertico.starface.module.core.runtime.executable s.ContainerExec.executeImpl(ContainerExec.java:82)
at de.vertico.starface.module.core.runtime.executable s.FunctionExec.executeImpl(FunctionExec.java:57)
at de.vertico.starface.module.core.runtime.executable s.BaseExec.execute(BaseExec.java:115)
at de.vertico.starface.module.core.runtime.ModuleRunt ime.callEntryPoint(ModuleRuntime.java:348)
at de.vertico.starface.module.core.runtime.ModuleRunt ime.callEntryPoint(ModuleRuntime.java:519)
at de.vertico.starface.module.core.runtime.ModuleRunt ime.callLifeCycleEntryPointsForInstance(ModuleRunt ime.java:2088)
at de.vertico.starface.module.core.runtime.ModuleRunt ime.access$000(ModuleRuntime.java:127)
at de.vertico.starface.module.core.runtime.ModuleRunt ime$1.run(ModuleRuntime.java:2062)
at java.lang.Thread.run(Thread.java:748)
Danke für eure Hilfe
Lesezeichen