This question is relation to a Node.js - express - Sequelize - MYSQL application.
I am trying to test my application using Curl command but I am getting "Invalid Departure Time" error.
This application is also using Luxon. I have tried all the possible fixes I could but nothing is working. Please help.
I am attaching the screenshots of the code and the curl command error as well.

Code1.png

code2.png

code3.png

error.png

error2.png

Perhaps I read this incorrectly, but shouldn't you be using departureTime instead of departure in your curl JSON.

commented: f +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.