HTTP Manager screenshot 1
M

Publisher

mcanton

HTTP Manager

Tools
HTTP API OAuth Request HTML JSON Client Management

It defines API routes like resources and adds constraints to queue http requests. It can format body and parse response body. Downloads from any origin. It does not depend on routes. It supports local OAuth 2.0 redirect server. It generates random state and PKCE with plain and S256 code challenge methods. Creates basic HTML documents and parses some elements from HTML into RichTextLabel. Downloads and uptades RichtTextLabel images from tag. See GitHub repository wiki where you can find ...

HTTP Manager Plugin for Godot

Introduction

This plugin adds a HTTPManager autoload to make multiple requests using routes defined with resources.

Routes have attached a client, resource that defines the host. You can add constraints to the client like requests per second.

Example:

extends Node

const ROUTE := preload("res://path/to/route.tres")

func _request_posts() -> void:
    if ROUTE.create_request().start(_on_request_completed) == OK:
        pass # Disable buttons or do other tasks

func _on_request_completed(response: HTTPManagerResponse) -> void:
    var data = response.parse()
    if response.successful:
        print(data)
    else:
        push_error("Request error.")

See wiki to know how to use this plugin.

Requirements

  • Godot version: 4.3