systools.httppostclob

Use this board for starting discussions, asking questions, and giving advice on Web programming for the IBM i platform (and predecessors.)
rjiron
Profound User
Posts: 34
Joined: Fri Dec 27, 2013 5:30 pm
First Name: Roberto
Last Name: Jiron
Company Name: Sinclair
City: Utah
State / Province: Utah
Zip / Postal Code: 84102
Country: United States
Contact:

systools.httppostclob

Post by rjiron »

exec sql
select
systools.httppostclob(:url,:header,:json) // url info, header info and json info
into :response // Response from web service
from sysibm.sysdummy1
;

what's the format and how do I need to pass the User & password in the previous statement?,
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: systools.httppostclob

Post by Scott Klement »

Roberto,

Every web service is different. In order to find out the format, you should read the documentation for the web service you want to call and/or have a conversation about this with whomever maintain/supports the web service you are calling.

Good luck!
rjiron
Profound User
Posts: 34
Joined: Fri Dec 27, 2013 5:30 pm
First Name: Roberto
Last Name: Jiron
Company Name: Sinclair
City: Utah
State / Province: Utah
Zip / Postal Code: 84102
Country: United States
Contact:

Re: systools.httppostclob

Post by rjiron »

I see, thank you much Scott.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests