revXMLRPC_SetPath

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_SetPath <XMLRPCdocumentID>, <filePath>
Associationsxml-rpc library
Summary

Sets the path in an XML-RPC document structure.

Introduced2.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
XMLRPCdocumentID

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request.

filePath

Usually a file path, which allows the host to determine which resource handles your request.

Example
revXMLRPC_SetMethod theRequest,"sample.elizabethanInsult"
Values
NameTypeDescription
The result

If the revXMLRPC_SetPath command encounters an error, the result is set to an error message beginning with "xmlerr" or "xmlrpcerr".

RelatedCommand: revXMLRPC_SetMethod
Function: revXMLRPC_GetPath, result, revXMLRPC_CreateRequest
Glossary: LiveCode custom library, Standalone Application Settings, standalone application, command, XML-RPC document
Library: XML-RPC library
Securitydisk, process
Description

Use the revXMLRPC_SetMethod command to set the path of the resource to be called upon execution of an existing XML-RPC document.

Where the path of the XML-RPC document tells the server which resource will handle the request, the method name tells that resource which method is being called specifically within that resource.