Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

Web API - 404 error and Multiple FormBody

$
0
0

Hi Everyone,

                     I spent many hours in the last 2 weeks to see if I could use WebAPI instead of WCF Rest service and I finally gave up because of the limitation of Web API.

If someone could resolve these major issues, WebAPI could be used...

here's the 2 major issues that I found:

  1. Cannot pass multiple [FormBody]

this extremely simple thing does not work

public String GetValue([FormBody] FirstName, [FormBody] LastName)

..... I saw the alternate solution to use JObject, but we lose that the signature has FirstName & LastName

     2.   Cannot put special characters like % . < > in Url Parameters

we Get a 404 when a parameter contains a . or %

I hope these 2 issues will be resolved in a near future!!!!

Thanks

Francois


Viewing all articles
Browse latest Browse all 4850

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>