Esteban,
You are right !, the client is the culprint :)
Regards,
bruno
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
I can't speak for Teapot, but I can tell you that the extra "body"
container object is not standard for JSON/REST API's.
Are you certain that it isn't the client who's adding such container
to the request?
Regards,
Esteban A. Maringolo
El mié., 27 feb. 2019 a las 18:56, BrunoBB () escribió:
>
Hi,
Using Teapot (which uses Zinc) i found something i do not know if it is a
standard or done on purpose or a bug.
A Teapot service (POST) accept a JSON entry. In the client the 'body' is set
with the JSON.
In the server the ZnRequest contents insert a JSON node 'body' to the
original JSON.
Th