pocketbase_demo/pb_public/benchmark.lua

5 lines
402 B
Lua

request = function()
headers = {}
headers["Authorization"] = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb2xsZWN0aW9uSWQiOiJfcGJfdXNlcnNfYXV0aF8iLCJleHAiOjE3NzIyMjUxNjQsImlkIjoib3J0N2FtbDR1cGp0NGVqIiwicmVmcmVzaGFibGUiOnRydWUsInR5cGUiOiJhdXRoIn0.PK04H3KpyNuVRRaExyFcXTlCAnA_AB4FggwjmRNM3r8"
return wrk.format("GET", "/api/collections/articles/records/35iln7ds2650572?expand=author", headers)
end