In our API, we ask mandatorily for client source in the http request header with values as:
- 1-Desktop
- 2-Mobile
- 3-Apps
What should be status code returned if we get header input other than 1,2,3.
Should it be bad request or unauthorized?
In our API, we ask mandatorily for client source in the http request header with values as:
What should be status code returned if we get header input other than 1,2,3.
Should it be bad request or unauthorized?