Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Description

This method fetches the token that can be set in the Cookie header of HTTPS requests for authentication. 

...

Code Block
wet --no-check-certificate --cookies=off 
--header="Cookie: extension=101;password=77b3e6926e7295494dd3be91c6934899" 
--header="Content-Type: text/xml" --post-file=request.xml  https://10.10.2.102/xml 
-O response.xml

Arguments

Name

Required

Type

Default

Description

account_id

required

integer

The account of the user

Example 

Request

Code Block
<request method="switchvox.users.cookies.getPassword">
    <parameters>
        <account_id>1116</account_id>
    </parameters>
</request>

...