Closed jabirmayar closed 1 year ago
Payload sending using dart is
{"job":{"enabled":true,"schedule":{"timezone":"Asia/Karachi","hours":[3],"mdays":[-1],"minutes":[22],"months":[-1],"wdays":[-1]}}}
and in python:
{"job": {"enabled": true, "schedule": {"timezone": "UTC", "hours": [-1], "mdays": [-1], "minutes": [-1], "months": [-1], "wdays": [-1]}}}
closing this issue. as the issue seems to be with the dart official HTTP package. I tried with Dio and it worked with it.
Hey, So i wanted to use api. i tested it with python and it works. But in flutter it is giving me 400 error Python code:
Dart Code:
where JobSchedule is
`
can you please have a look? if is it something I am doing wrong.