diff --git a/server_example_function_library.pb b/server_example_function_library.pb index d73509f..6c55c59 100644 --- a/server_example_function_library.pb +++ b/server_example_function_library.pb @@ -16,7 +16,7 @@ ProcedureCDLL post_test(handler_Map_JSON.s, ContentData.s) Define.s Encoded, TBD, Text, JSONStringToMap Define MyThreadJSON, File NewMap Header.s() - File = CreateFile(#PB_Any, "test.log") + File = CreateFile(#PB_Any, "/var/log/lhttpd/post_test.log") WriteStringN(File, "handler_Map_JSON:") WriteStringN(File, handler_Map_JSON) WriteStringN(File, "Content Data:") @@ -42,7 +42,7 @@ ProcedureCDLL post_test(handler_Map_JSON.s, ContentData.s) Text = ~"" + "" + ~"" + - "Alle Client Headers"+TBD+"

ConentJSON


"+ContentData+"" + "Alle Client Headers"+TBD+"

Conent in JSON Format


"+ContentData+"" *Text = AllocateMemory(StringByteLength(Text, #PB_UTF8)) PokeS(*Text, Text, -1, #PB_UTF8) Encoded = Base64Encoder(*Text, MemorySize(*Text))