Closed rakshita-kaulgud closed 4 years ago
tested with the following:
(se) (base) Rakshitas-MacBook-Pro:backend rakshitakaulgud$ curl -XPOST -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODgxNTgyMTUsInVpZCI6IjVlNDI0MTQwLTA2ZDQtNGMyNi04ZWUwLWY2MDg0NDlkMWZjZSIsInJvbGUiOiJuYXZpZ2F0b3IifQ.sRBG4YZioSJRp_L1q4f1_7YKtLvGTYV107HCPPO3F10" -H "content-type: application/json" -d '{"pagination": {"page": 1, "results_per_page": 10}, "searchFields": {"bathrooms": 2, "bedrooms": 2,"date_available": "2008-10-11","housing_type": ["string"],"max_rent": 1000,"zip_code": ["22456"]}}' http://localhost:5000/property/search { "pagination": {}, "results": [] } (se) (base) Rakshitas-MacBook-Pro:backend rakshitakaulgud$
tested with the following: