Category «Postman»

How to send json data request to api use Postman or Swager

In postman: Set header Content-Type to application/json Set body request type to raw, content must be json format, eg. { “msg”:{“address”: {“street”: “end”, “number”: 31, “road”: 2, “suburb”: “hillcrest”}, “price”: 23380,”on_market_time”: “2018-09-03T19:42:19.296591”} } In Swager: By default, the Content-Type is already set to application/json Set body value must be json format, eg. { “msg”:{“address”: {“street”: …