The problem statement is this: create an api endpoint (you may choose what to name it) that takes a simple GET request with start_time and end_time query parameters as ISO formatted times (timezone handling not required), and return a json object with the duration in seconds between those two parameters. The endpoint should not accept a start time which is later than the end_time, or any other invalid input. You may choose how the endpoint should respond to invalid input.
https://stackoverflow.com/questions/66667255/create-and-application-using-django-frame-work March 17, 2021 at 01:03PM
没有评论:
发表评论