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: 1657
Location: Tirupur

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 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
No new posts ISPF ISPLOG asmanyam TSO/ISPF 2 Wed Jun 26, 2019 7:29 pm
No new posts Send text at cursor position on an IS... Domenic Ailati CLIST & REXX 10 Sun Jun 02, 2019 7:34 am
No new posts Programmatically determine HLQ ISPF i... Mike.Fulton TSO/ISPF 4 Sat Dec 01, 2018 8:05 am

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