Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

JSON is located at:

http://www.medialweb.it/corsi_ok.json

When I use the online tool:

https://jsonformatter.curiousconcept.com/

I get the following error messages:

Error:Invalid media type, expecting application/json.[Code 28,Structure 0] 
Error:Invalid encoding, expecting UTF-8, UTF-16 or UTF-32.[Code 29, Structure 0]
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
236 views
Welcome To Ask or Share your Answers For Others

1 Answer

thanks @dubes

what worked for me, after doing everything! change this:

Content-type: application/json; charset=utf-8

to:

Content-type: application/json; charset=UTF-8

(caps)!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...