Json Visual Cobol

Hello, I need to make a request, send information in Json and get the returns of this request someone has an example. I found it in C # but this is difficult to translate. To tell you the truth I need to access a payment platform that communication is in Json https://vindi.github.io/api-docs/dist/
Translated by Google.
 
Olá, eu preciso fazer uma requisição, enviar informações em Json e pegar os retornos que desta requisição alguem tem um exemplo. Encontrei em c# mas esta difícil de traduzir. Pra falar a verdade preciso acessar uma plataforma de pagamento que a comunicação é em Json vindi.github.io/.../
Traduzido pelo Google.
Parents
  • It looks like you are talking about calling a RESTful Web Service using COBOL. This can be done either in managed COBOL by using the HttpClient class or in native code by using the IMTK to generate a client from the JSON Schema file. There is a template in Visual Studio that supports this under the native category.

    It isn't always necessary to convert C# examples that you find. If you have a C# example that calls the web service then you could certainly call the C# from COBOL. That might be easier.
Reply
  • It looks like you are talking about calling a RESTful Web Service using COBOL. This can be done either in managed COBOL by using the HttpClient class or in native code by using the IMTK to generate a client from the JSON Schema file. There is a template in Visual Studio that supports this under the native category.

    It isn't always necessary to convert C# examples that you find. If you have a C# example that calls the web service then you could certainly call the C# from COBOL. That might be easier.
Children
No Data