France CA APM User Group

How to virtualize a REST service?

  • 1.  How to virtualize a REST service?

    Posted 04-08-2019 01:07 PM

    How to virtualize a REST service?

     

    The following data is sent via POST:
    It is necessary to specify the Content-Type header as application / json

     

    Request

    { "tokenSesion": "b08f86af-35da-48f2-8fab-cef3904660bd","nss":"23568978452","curp":"AAAA000000XXXAAA00","tipoServicio ":"401" }

     

    Reponse 

     

    HTTP/1.1 200 OK

    X-Powered-By: Servlet/3.0 JSP/2.2 (Oracle GlassFish Server 3.1.2.2 Java/Sun Microsystems Inc./1.6)

    Server: Oracle GlassFish Server 3.1.2.2

    Content-Type: application/json

    Transfer-Encoding: chunked

    Date: Thu, 12 Jul 2018 16:19:12 GMT

     

    {"result":{"responseCode":"0","responseDescription":"Operacion exitosa"},"folioServicio":"201903220003760261"}