Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

ModIO.APIClient.GeneratePostRequest

Jackson Wood edited this page Jul 26, 2018 · 8 revisions

APIClient.GeneratePostRequest

public static UnityWebRequest GeneratePostRequest(string endpointURL, StringValueParameter[] valueFields, BinaryDataParameter[] dataFields);

Parameters

Name Description
endpointURL Endpoint URL for the request
valueFields The string values to be submitted with the POST request
dataFields The binary data to be submitted with the POST request

Returns

UnityWebRequest: A UnityWebRequest initialized with the data for sending the API request

Description

Generates a prefilled UnityWebRequest for a mod.io API endpoint 'POST' request

Clone this wiki locally