Dear sir,
I have created a mvc API for validation
API: http://localhost:15478/api/Registration/id/password
how to do roughting in webapi.config file to allow 2 parameters using conventional routing.
please suggest.
Hi varun3752,
Refer below links.
https://forums.asp.net/t/2040997.aspx?Web+Api+Controllers+multiple+parameters
https://weblog.west-wind.com/posts/2012/May/08/Passing-multiple-POST-parameters-to-Web-API-Controller-Methods
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.