Skip to main content

HTTP POSt

  • December 31, 2021
  • 2 replies
  • 0 views

Just starting into HTTP POST calls (I am at 10.4.0) and was hoping to find a sample program, preferably including JSON Generation.  It's a two step process, get a token first (with userid, password, etc) via a POST and then generate the JSON data and do a second POST with data.  There is a sample program called TempConv but it uses XML which generates the request payload with pointer, but the JSON generate doesn't seem to have that.  trying to connect the dots.  thanks!


#HttpPost

2 replies

Martin Turner

Just starting into HTTP POST calls (I am at 10.4.0) and was hoping to find a sample program, preferably including JSON Generation.  It's a two step process, get a token first (with userid, password, etc) via a POST and then generate the JSON data and do a second POST with data.  There is a sample program called TempConv but it uses XML which generates the request payload with pointer, but the JSON generate doesn't seem to have that.  trying to connect the dots.  thanks!


#HttpPost

This sample uses JSON GENERATE and then uses that data in the HTTPPOST. I hope it helps.

community.microfocus.com/.../4087.jsonPayload.zip


  • December 31, 2021

This sample uses JSON GENERATE and then uses that data in the HTTPPOST. I hope it helps.

community.microfocus.com/.../4087.jsonPayload.zip

thank you!