User Tools

Site Tools


scripting:restapi

This is an old revision of the document!


RestApi

Class: RestApi

Parent Class: (?none?)

Location: scripts/GameLib/generated/online/RestApi.c

Description: RestAPI class.

Common usage

The restAPI allows interaction with external webresources in JSON format.

Typical usage : find an Entity.

GetGame().GetRestApi().GetContext("https://some.url");

Functions

GetContext();

GetContext(string serverURL);;

Return type: restcontext

scripting/restapi.1661435843.txt.gz · Last modified: 2022/08/25 14:57 by jerryhopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki