API does not working again

  • 1
  • Problem
  • Updated 3 weeks ago
API does not work again. I download: http://api.wunderground.com/api/XXXXXXX/forecast/geolookup/conditions/q/48.764,19.140.xml

and it will end up with a mistake

Photo of Peter Minárik

Peter Minárik

  • 3 Posts
  • 0 Reply Likes

Posted 2 months ago

  • 1
Photo of Mark Kent

Mark Kent

  • 1 Post
  • 1 Reply Like
Happens a lot recently, even just viewing the station main page fails: https://www.wunderground.com/personal-weather-station/dashboard?ID=IBARBADO7 gives the same error for example.  
Photo of nadhik sadhik

nadhik sadhik

  • 2 Posts
  • 0 Reply Likes

First, from the namespace System.Web.OData.ODataController, I think you are using the Web API OData V4 library. V4 doesn't accept application/atomsvc+xml because only "Json" is the standard in OData V4 spec.

Second, odata=fullmetadata is the OData V3 metadata header, for V4, it should be odata.metadata=full

Third, [Route("api/lookups/users")] is Web API attribute. If you want to use ODataController, please use the OData version. [ODataRoute("...")]<br alt="" title="" name="" value="" type="" target="" rel="">see: https://inro.in/lucky-patcher/
https://inro.in/9apps/
https://inro.in/vidmate/
(Edited)