15 Temmuz 2016 Cuma

The server is refusing to process the request because the entity has an unsupported format

"The server is refusing to process the request because the entity has an unsupported format" hatasının çözümü için  Content-Type = ...;type=entry            "type=entry" eklemeniz gerekmekte.

var urlRead = "/createSet";
var headers = {
"X-Requested-With": "XMLHttpRequest",
"Accept": "application/atom+xml,application/atomsvc+xml,application/xml",
"Atom": "http://www.w3.org/2005/Atom",
"Content-Type": "application/atom+xml;type=entry",
"DataServiceVersion": "2.0"

};

Hiç yorum yok:

Yorum Gönder