[Mono-aspnet-list] How can I consume a web service with javascript and jquery?

Jon Davis jon at jondavis.net
Fri Aug 5 02:04:18 EDT 2011

On 8/4/11 1:35 PM, LucaDev wrote:
> "application / json, charset = utf-8"
This is may or may not address your problem but "application / json" is 
not a valid content type. Drop the spaces. Same with charset = utf-8, 
and you also need a semicolon as delimeter, not a comma.

The following is not valid:

contentType: "application / json, charset=utf-8"

The following is valid:

contentType: "application/json; charset=utf-8"

More information about the Mono-aspnet-list mailing list