C
C#3y ago
nahr

❔ How to bind DateTime in query parameter?

Hi, any tips how I can pass a DateTime as a query parameter? I'm doing an Http request from one api to another. Usually I would do a post request and pass DateTime in the body, but now I need to use this existing endpoint with DateTime as a queryParam, but it fails. Any ideas?
3 Replies
nahr
nahrOP3y ago
ok, solved: Example format: 2017-12-31T16:30:20
cumslvt13
cumslvt133y ago
Mind that if server is another time zone you'll have issues
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server