Dear Maksym,
one can access the content of a PUT/POST request via "ns_getcontent".
Just get the content and parse content e.g. into a dict.
-gn
if {[ns_conn method] in {PUT POST}
&& [ns_set iget [ns_conn headers] Content-Type] eq "application/json"
} {
packa
Hello, maybe it's obvious but I'm a little bit stuck in here.
When I'm doing POST requests to Naviserver with Content-Type:
application/x-www-form-urlencoded, I can use [ns_conn files] [ns_getform]
to access data.
How do I access Content-Type: application/json requests? For example if I'm
sending J