Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

post endpoint to save some data like json, txt, or xml

Options
amink1
amink1 Posts: 3

Hello, Is there any way I can create a POST endpoint to store some data that can be used to do a GET later on?

Tagged:

Comments

  • williammccusker
    williammccusker Posts: 643 ✭✭✭
    Options

    Hi,

    The simplest way is to use a data bank. The data bank tools will save data that can then be used in the response from a different responder. This is will work for simple cases where there is no need to support concurrent requests, e.g. two POSTs then two GETs.

    If you need a more complicated setup that saves state look at this documentation for the Data Repository CRUD Tool.

    https://docs.parasoft.com/display/SOAVIRT20202/Data+Repository+CRUD+Tool