Open travomate opened 5 months ago
POST/posts/create creating a post with this details:
POST/posts/create
id: 1, createdAt: "20m", user: { id: 12, name: "Duke Fred", image: require('../../../../../assets/images/duke1.jpg'), oneKilo: 5.50, KilosRemaining: 15, gender: "Male", PreferredCurrency: "MAD", memberSince: "july 2023" }, from: { country: "Morocco", city: "Casablanca", flag: require('../../../../../assets/images/Flag_of_Morocco.png') }, to: { country: "Rwanda", city: "Kigali", flag: require('../../../../../assets/images/Flag_of_Rwanda.png') }, departureDate: { day: 28, month: "May", year: 2023 }, ArrivalDate: { day: 29, month: "May", year: 2023 } }, ]
POST/posts/create
creating a post with this details: