Skip to content

Return File Instead of Output #510

Answered by adnanh
cpsdakota asked this question in Q&A
Feb 12, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Something like this?

[
        {
                "id": "test",
                "execute-command": "/home/adnan/test.sh",
                "response-headers": [
                        {
                        "name": "Content-Type",
                        "value": "aplication/octet-stream"
                        },
                        {
                        "name": "Content-Transfer-Encoding",
                        "value": "binary"
                        },
                        {
                        "name": "Content-Disposition",
                        "value": "attachment; filename=\"testhook.txt\""
                        }
                ],
                "includ…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cpsdakota
Comment options

@cpsdakota
Comment options

Answer selected by cpsdakota
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants