Gracey Bautista

Gracey Bautista

  • NA
  • 24
  • 3.3k

Is query string param & Action method param case-sensitive?

Mar 26 2018 5:38 AM
In WebApi, if action method parameter 'id' is lowercase, ex.
 
public Student Get(int id)
{
}
 
Will it match to upper case 'ID' in query string below?
http://localhost/api/student?ID=1

Answers (4)