Roblox Wiki
Roblox Wiki
38,921
pages
Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.

The HttpRbxApiService class, added in version 0.174, inherits from Instance. It cannot be instantiated.

It is a version of HttpService used by Roblox administrators that can send requests to roblox.com.

Methods

GetAsync(apiUrlPath: string, priority: ThrottlingPriority = Default, httpRequestType: HttpRequestType = Default): string

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
apiUrlPathstring
priorityThrottlingPriorityDefault
httpRequestTypeHttpRequestTypeDefault
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

GetAsyncFullUrl(apiUrl: string, priority: ThrottlingPriority = Default, httpRequestType: HttpRequestType = Default): string

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
apiUrlstring
priorityThrottlingPriorityDefault
httpRequestTypeHttpRequestTypeDefault
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

GetDocumentationUrl(partialUrl: string): string

Parameters
NameType
partialUrlstring
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

PostAsync(apiUrlPath: string, data: string, priority: ThrottlingPriority = Default, content_type: HttpContentType = ApplicationJson, httpRequestType: HttpRequestType = Default): string

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
apiUrlPathstring
datastring
priorityThrottlingPriorityDefault
content_typeHttpContentTypeApplicationJson
httpRequestTypeHttpRequestTypeDefault
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

PostAsyncFullUrl(apiUrl: string, data: string, priority: ThrottlingPriority = Default, content_type: HttpContentType = ApplicationJson, httpRequestType: HttpRequestType = Default): string

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
apiUrlstring
datastring
priorityThrottlingPriorityDefault
content_typeHttpContentTypeApplicationJson
httpRequestTypeHttpRequestTypeDefault
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

RequestAsync(requestOptions: Dictionary, priority: ThrottlingPriority = Default, content_type: HttpContentType = ApplicationJson, httpRequestType: HttpRequestType = Default): string

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
requestOptionsDictionary
priorityThrottlingPriorityDefault
content_typeHttpContentTypeApplicationJson
httpRequestTypeHttpRequestTypeDefault
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

RequestLimitedAsync(requestOptions: Dictionary, priority: ThrottlingPriority = Default, content_type: HttpContentType = ApplicationJson, httpRequestType: HttpRequestType = Default): string

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
requestOptionsDictionary
priorityThrottlingPriorityDefault
content_typeHttpContentTypeApplicationJson
httpRequestTypeHttpRequestTypeDefault
  • Thread safety: unsafe

External links[]