Home / Companies / testRigor / Blog / Post Details
Content Deep Dive

Release Notes: API (Multiple body parameters)

Blog post from testRigor

Post Details
Company
Date Published
Author
Kevin Carroll
Word Count
201
Language
English
Hacker News Points
-
Summary

This week, a new feature was released that allows API calls to use multiple body parameters, enhancing the ability to validate API call requests with either text or JSON paths. Users can add new body parameters using the "and" command, and the parameter type can be defined as either text or JSON path. By default, text is used when no type is specified, and testRigor will compare the value directly. JSON, on the other hand, requires a key-value pair separated by a colon and is only used when specified. JSON path is a more advanced option that allows for greater flexibility and power in specifying parameters. It is possible to mix different parameter types in a single API call, providing a robust approach to API validation.