local client = require('http.client') local http = client.new() local json = require('json') local body = json.encode({ book_name = "Цветы для Элджернона", author = "Киз" }) http:post("http://213.219.215.66:8080/http", body, { headers = {["auth-token"] = "b5f13cbf-23d6-4dda-aefd-6bde4cc5c854", ["Content-Type"] = "application/json"}})