Jump to content


Photo
- - - - -

Converting JSON from HTTP SSO Get


2 replies to this topic

#1 Neil Hunter

Neil Hunter

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 418 posts
  • Gender:Male
  • Location:Johannesburg, South Africa

Posted 08 January 2019 - 05:24 AM

Hi all,

 

I have a restful web service that I need to pull data from, connects fine with HttpSSO and reads content fine.

 

Is there a way to convert the returned JSON content into something usable or do I have to do it the long way round? I've been using the @DemoHTTPSSO for reference, and it seems to be doing it the long way

 

 



#2 Wim Soutendijk

Wim Soutendijk

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 214 posts
  • Gender:Male
  • Location:Netherlands

Posted 08 January 2019 - 07:21 AM

Hi Neil,

 

Use RestfulRequestSSO to setup the request and call the web service. Then use RestfulResponseSSO to get the response in a formatted way.

 

Wim 



#3 Neil Hunter

Neil Hunter

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 418 posts
  • Gender:Male
  • Location:Johannesburg, South Africa

Posted 08 January 2019 - 09:10 AM

Thanks Wim, will give that a bash. Having slight heart palpitations when I thought i'd have to write my own parser





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users