Welcome! Log In Create A New Profile

Advanced

Nginx + Lua вернуть JSON, как?

June 20, 2019 03:12PM
Добрый день
Подскажите пожалуйста, как вернуть JSON в response?
Есть сам JSON

{"1_sign_level":"0200200","2_sign_level":"0200300"}

Пробовал ngx.say и cjson.encodeНо ничего не получается. Помогите, пожалуйста, с кодом.
Subject Author Posted

Nginx + Lua вернуть JSON, как?

darksmoke June 20, 2019 03:12PM

Re: Nginx + Lua вернуть JSON, как?

Vadim A. Misbakh-Soloviov June 25, 2019 03:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 98
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready