clownshark5503
clownshark5503
Explore posts from servers
CC#
Created by clownshark5503 on 2/17/2024 in #help
Unit Testing(post request) confusion with ActionResult[Solved]
No description
3 replies
CC#
Created by clownshark5503 on 6/15/2023 in #help
❔ 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?
4 replies