IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Posting to the ISPF XML API (ISPZXML) using CURL


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Daboogie

New User


Joined: 14 Oct 2019
Posts: 1
Location: USA

PostPosted: Tue Oct 15, 2019 10:31 pm
Reply with quote

Hopefully this helps someone out since it gave me so much trouble.

If you have to use cURL on UNIX to invoke a script using ISPZXML, the format that worked for me is:

Code:
$(curl $url \
                --header "Content-Type: application/json" \
                --request POST \
                -T "$xml_file" \
                -u $username:$password)


I'm sure there's a better way, but this is what was available for me at the time and there seems to be very little useful guides online for this.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1693
Location: Tiruppur, India

PostPosted: Tue Oct 15, 2019 10:35 pm
Reply with quote

Thank you for sharing.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Finding a semi colon (;) in ISPF TSO/ISPF 5
No new posts SAY backslash within ISPF CLIST & REXX 16
No new posts ISPF Panel commands DDLIST /LISTBOX TSO/ISPF 11
No new posts Am Getting a vertical line in ISPF SC... TSO/ISPF 3
No new posts ISPF Edit Macro with profile commands... TSO/ISPF 14
Search our Forums:

Back to Top