I am getting "A system error has occurred" on successful result

I am getting "A system error has occurred" on successful result

mukerremmukerrem Posts: 1Questions: 1Answers: 0

MY WebAPI (HttpResponseMessage Type) RETURN
return Request.CreateResponse(HttpStatusCode.OK, true);

MY XHR RESULT
Request URL: http://localhost/waDataTables/api/Test
Request Method: POST
Status Code: 200 OK
Remote Address: [::1]:80
Referrer Policy: no-referrer-when-downgrade
Cache-Control: no-cache
Content-Length: 4
Content-Type: application/json; charset=utf-8
Date: Wed, 22 Apr 2020 08:58:41 GMT
Expires: -1
Pragma: no-cache
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: application/json, text/javascript, /; q=0.01
Accept-Encoding: gzip, deflate, br
Accept-Language: tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7
Connection: keep-alive
Content-Length: 50
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
DNT: 1
Host: localhost
Origin: http://localhost
Referer: http://localhost/Editor/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
X-Requested-With: XMLHttpRequest
Adi: Test
Yazar: Test
BasimYili: 123
SayfaSayisi: 1234

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    I see the HTTP headers you are getting in response, but what is the data (body)? The headers show that the server is returning 50 characters of data - but I don't know what?

    Allan

This discussion has been closed.