Closed llllllll-l closed 5 months ago
In MovieDetails.jsx, add a POST method that adds the trip to the current user using the endpoint /trips. The payload should be in JSON format and have following params:
{ "userId": string, "movieId": int, "date": "string", "description": "string" }
In MovieDetails.jsx, add a POST method that adds the trip to the current user using the endpoint /trips. The payload should be in JSON format and have following params:
{ "userId": string, "movieId": int, "date": "string", "description": "string" }