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: 1742
Location: Tirupur, 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 Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Is there a way to close VSAM files us... CICS 8
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top