Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
api [2021/11/06 18:44] – [Query parameters] knutkohlapi [2021/12/09 15:32] – [Content type] knutkohl
Line 59: Line 59:
   CSV  : text/csv   CSV  : text/csv
  
 +If you have a limited device which can only do simple GETs, you can define the response content types other than JSON as file extension like this:
 +
 +  https://api.forecast.solar/.../1.xml
 +  https://api.forecast.solar/.../1.csv
 +
 +But the "Accept" header is prefered ...
 ==== Headers ==== ==== Headers ====