SOLVED: Re: Creating an API with Embperl and POST Requests

2017-12-20 Thread Dirk Melchers
Hello again, after reading a lot of "nice" embperl internal sourcecode (there are some things you definitely don't want to do...), I found $request->param-> query_info in the documentation... ... which was exactly what we needed :-) I wish you all very nice christmas days! With best regard

Creating an API with Embperl and POST Requests

2017-12-20 Thread Dirk Melchers
Hello, we try to create an API solution with Embperl. We receive a JSON structure send vie POST. The problem: there is nothing stored in %fdat. I think it is skipped, because the POST data are not in the form "KEY=VALUE" but it's only a JSON structure. Is there a way to access the POST body in