Portal | 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: 1691
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 ISPF Panel commands DDLIST /LISTBOX Wesley TSO/ISPF 11 Thu Aug 06, 2020 11:25 pm
No new posts Am Getting a vertical line in ISPF SC... Himansu22 TSO/ISPF 3 Fri Jul 31, 2020 11:58 pm
No new posts ISPF Edit Macro with profile commands... Lynne Schuler TSO/ISPF 14 Thu Jun 18, 2020 7:25 pm
No new posts ISPF skeleton that has IF/THEN/DO sta... ecsk TSO/ISPF 15 Mon Apr 27, 2020 12:52 pm
No new posts RegEX search in ISPF editor jzhardy TSO/ISPF 4 Mon Apr 20, 2020 10:46 am

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