Skip to content

what's the node_path exact? #2

@Scorpion-cg

Description

@Scorpion-cg

example code:
import requests
headers = {
"Authorization": "Bearer xxxxxxx"
}
files = {
'Document': request_document,
}
node_path= "sections/1/body"

response = requests.put(f'https://api.aspose.cloud/v4.0/words/online/get/{node_path}/tables', headers=headers,files = files)
response.text

result:
'{\r\n "Error": {\r\n "Code": "ErrorItemNotFound",\r\n "Message": "Object with index 1 not found.",\r\n "Description": "Operation Failed. Item Not Found."\r\n },\r\n "RequestId": "848a16585cb1e9dda8a3aa9e081d887d"\r\n}'

i have client_id , client_secret,and Bearer Authorization, but the result i found is wrong which remind me of the wrong Node_path.Could anyone give me an example of right node_path?if you could help me ,i'll appreciate it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions