Skip to content

Having issue with firewolf.encode #64

@BoofPackJackBoy

Description

@BoofPackJackBoy

Hi all. I am messing with server api using documentation to try and get an understanding my only issue so far is firewolf.encode(). I am using CraftOS-PC. Using the example code from the documentation results in this error: "/firewolf:2593: attempt to index global 'page' (a nil value)"
Here is the example code I just copied and pasted from the documentation:
vars = {["cat"] = "meow", ["dog"] = "woof"} local resp = firewolf.encode(vars) print(resp) -- ?cat=meow&dog=woof

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions