Menu

Inconsitent response from webservices

2022-07-27
2022-07-27
  • Marc Franquesa

    Marc Franquesa - 2022-07-27

    Hi,

    I have been dealing with various iTop webservices to automate data feeding, and realized some disparity of the response given by different 'webservices':

    webservice/import.php returns text/plain
    synchro/synchro_import.php returns text/html
    REST webservices return application/json

    Is there a way to get all those API calls output application/json to be easy to programmatically work with them?

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-07-27

    They actually each have very different import purposes.

    Can you tell us a bit more about your use case/why you'd want JSON output for all of them, or how you're relying on them?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.