Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3637

How to send both object and parameters in Postman?

$
0
0

I want to send an object of arraylist (in Java) and other parameters as passed by the user to Postman.

Here is my code for controller:

        @PostMapping(path = "/listEmpPaidSalariesPaged", produces = "application/json")        public List<EmployeeSalaryPayment> listEmpPaidSalariesPaged        (long SID, Collection<Student> student, String orderBy,        int limit, int offset)

I know you can use RAW data and JSON for objectand x-www-form-urlencoded for parameters, but how to send them together?


Viewing all articles
Browse latest Browse all 3637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>