Have you tried “application/json” instead of “text/x-json”. According to this Stack Overflow question application/json is the only valid json media type.
More Related Contents:
- No connection could be made because the target machine actively refused it 127.0.0.1:3446
- How can I return a custom HTTP status code from a WCF REST method?
- Make ASP.NET WCF convert dictionary to JSON, omitting “Key” & “Value” tags
- System.Net.Http: missing from namespace? (using .net 4.5)
- WCF DataContract DataMember order?
- What is the best workaround for the WCF client `using` block issue?
- How to upload file to server with HTTP POST multipart/form-data?
- WCF vs ASP.NET Web API [closed]
- ServiceStack REST API and CORS
- Read Post Data submitted to ASP.Net Form
- How does WCF deserialization instantiate objects without calling a constructor?
- What are the downsides to turning off ProxyCreationEnabled for CTP5 of EF code first
- Authorization header is lost on redirect
- Pattern for calling WCF service using async/await
- Could not find an implementation of the query pattern
- Turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server
- Queuing in OneWay WCF Messages using Windows Service and SQL Server
- Large WCF web service request failing with (400) HTTP Bad Request
- Simple Automapper Example
- WCF Error – Could not find default endpoint element that references contract ‘UserService.UserService’
- Can we create custom HTTP Status codes?
- ASP.NET 5 add WCF service reference
- WCF service attribute to log method calls and exceptions
- Post JSON array to mvc controller
- RedirectToAction not working after successful jquery ajax post? [duplicate]
- Efficient way to send images via WCF?
- Passing Interface in a WCF Service?
- SqlConnection Thread-Safe?
- Signing SOAP messages using X.509 certificate from WCF service to Java webservice
- Is TLS 1.1 and TLS 1.2 enabled by default for .NET 4.5 and .NET 4.5.1?