Skip to content

output.py: new class RequestOption #77

Description

@SibrenJacobs

In the class OutputConfig there is a new property 'request_option'. If this is specified then COP makes a call to the given option with response/output of the current request.

JSON representation:

"output": {
    "output_type": "docx",
    "output_encoding": "raw",
    "request_option": {
      "url": "https://www.apexofficeprint.com/post/",
      "extra_headers": {
        "file_id" : "Any file id like FILE_123",
        "access_token": "Access Token for above hostname (if any)"
      }
    }
  • url : valid url to which the output will be posted. It should start with http:// or https://
  • extra_headers: any additional information to be included for the header, like authentication token, file id , access token etc.

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