LogoLogo
  • Introduction
  • sdks
    • Feature Comparison
    • Unity
    • Godot
    • Defold
    • LÖVE
    • Unreal
  • Quick Start
    • Unity
    • Godot
    • Defold
    • LÖVE
    • Unreal
  • Server Side
    • Entities
    • Chunks
    • Dimensions
    • Events
    • Logging
    • Lua Environment
    • Git Primer
    • Physics
  • HTTP API
    • Authentication
    • Player API
  • Api Reference
    • Entity API
      • Create
      • Message
    • Client API
      • Message
    • Dimension API
      • Create
      • Delete
      • List
    • Events API
      • on_player_join
      • on_player_leave
    • Table API
      • Append
      • Remove
      • Join
    • Util API
      • Time
      • TimeMillis
    • HTTP Request API
      • Get
      • Post
      • Put
      • Delete
    • Physics API
      • NewBody
      • NewBoxShape
      • NewSphereShape
Powered by GitBook
On this page
  1. Api Reference

HTTP Request API

Premium Only

PreviousTimeMillisNextGet

Last updated 2 months ago

api.http

Method
Parameters
Return Value
Description

url: string headers: table

code: int body: string

Sends a GET request to an HTTP endpoint.

url: string headers: table

body: string

code: int body: string

Sends a POST request to an HTTP endpoint.

url: string headers: table body: string

code: int body: string

Sends a PUT request to an HTTP endpoint.

url: string headers: table

code: int body: string

Sends a DELETE request to an HTTP endpoint.

Get
Post
Put
Delete