❔ My asp.net endpoint throws a error when it receives string

My endpoint takes a integer and 2 strings from the frontend. The frontend is sending a integer and 2 dates. Since these are typically turned into strings when you send it over and it throws a error about it I am rather lost.
[HttpGet("endpoint/{myInt}")]
public string MyFunc(int myInt, string s1, string s2){code}
[HttpGet("endpoint/{myInt}")]
public string MyFunc(int myInt, string s1, string s2){code}
Does anyone know what's going on?
3 Replies
Jimmacle
Jimmacle2y ago
"an error"
VitalJeevanjot
What error you get ?
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