Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Posting to the ISPF XML API (ISPZXML) using CURL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Posting to the ISPF XML API (ISPZXML) using CURL
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: 1686
Location: Tiruppur, India

PostPosted: Tue Oct 15, 2019 10:35 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to free (unalloc) data sets and d... Ricardo Viegas TSO/ISPF 4 Wed Jan 15, 2020 5:19 am
No new posts ISPF Edit Macro for modifying JCL Cameron Conacher TSO/ISPF 21 Wed Dec 11, 2019 7:01 pm
No new posts ISPF search - capturing result jzhardy TSO/ISPF 15 Sat Dec 07, 2019 5:20 am
No new posts Adding FIND to ISPF Panel display of ... Harold Barnes TSO/ISPF 3 Mon Oct 07, 2019 5:46 pm
No new posts How to force ISPF to allocate ISPF te... Michele Giannuli TSO/ISPF 9 Thu Sep 12, 2019 2:03 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us