Skip to content
Advertisement

Variables are not coming up null during Postman call

Setting up an Java Postman call assigning values to the variables but its shows null.

JavaScript

My Pojo Student Class

JavaScript

Postman Request

JavaScript

Advertisement

Answer

your request body should be like this:

JavaScript

because you are getting StudentRequest as RequestBody and it means you should send StudentRequest internal properties not containing StudentRequest it self in request , second problem is that your RequestBody contains singular object not array .

Advertisement