Getting NULL in web api Post

Getting NULL in web api Post

Hi all, I'm starting to get a handle.... a little bit.

My jSon should be passing a parameter to my Post Web Api but it's passing  a null, or the web api is GETTING a null.

Json:

  <script>
        var uri = 'http://localhost:58021/api/SedgwickEvent';

    function Count()
        {
        var counter = $('#counter').val() ;
        $.post(uri, counter)
        .done(function (data) {
            alert('success: ' + data);
        })
        .fail(function () {
            alert('error: ' + Error);
        });
    }


My WebApi code is getting a null:

      // POST api/values
        public string Post([FromBody] string value)
        {
            string retVal;
            retVal = "Sent [" + value + "]";
            return retVal; //works
        }

It does get a null but is returning. I know it's calling this Post correctly.

Any ideas?

TIA, Rik Brooks