Skip to content
Discussion options

You must be logged in to vote
If you have `cURL` I'd love to see the output of this command:

"""
curl -ik 'https://<HOST>:<PORT>/zosmf/restjobs/jobs?owner=*&prefix=izusvr1&exec-data=Y' -H 'X-CSRF-ZOSMF-HEADER: TRUE' -H 'Authorization: Basic <BASE64-CREDENTIALS>'
"""

### Windows users
If you do not have `cURL`, we came up with a series of commands to run in PowerShell. 

"""
$headers=@{}
$headers.Add("X-CSRF-ZOSMF-HEADER", "TRUE")
$headers.Add("Authorization", "<BASE64-CREDENTIALS>")
$response = Invoke-WebRequest -Uri 'https://<HOST>:<PORT>/zosmf/restjobs/jobs?owner=*&prefix=izusvr1&exec-data=Y' -Method GET -Headers $headers

$response.StatusCode
$response.Content
$response.Headers
"""

Please:
-   Replace <HOST> wit…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

zFernand0
Feb 18, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

zFernand0
Feb 20, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

zFernand0
Jun 11, 2025
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by zFernand0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: enhancement New feature or request area: cli This issue is related to Zowe Command Line Interface (CLI) area: zowe-explorer Issues related to the VSC extension Zowe Explorer priority-low Size: M
2 participants
Converted from issue

This discussion was converted from issue #4162 on June 11, 2025 19:22.