perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Melchers <>
Subject Creating an API with Embperl and POST Requests
Date Wed, 20 Dec 2017 12:06:40 GMT

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 an embperl template?

And, just to be safe: does Embperl handle the other HTTP methods (PUT, DELETE, PATCH,...)
or will there be the next problem?

With best regards,

Dirk Melchers
/// IT/Software-Development ///

NUREG GmbH ///
Dorfäckerstraße 31 | 90427 Nürnberg | Germany
Tel. +49-911-32002-256 | Fax +49-911-32002-299
Mobil +49-172-9354670 |
Nürnberg HRB 22653 | USt.ID DE 814 685 653
Geschäftsführer: Michael Schmidt, Stefan Boas

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message