JakobGreen / lua-requests

Requests for Lua!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to combine header and body as second argument

rshawnkeller opened this issue · comments

can the data field take a header (for example a bearer token) and a body (for example a json request payload)? if so, how would you combine the two into a single string, so that the request is parsed correctly?