| 47 | #include "geotools.h" |
| 48 | |
| 49 | static wxString MyGet(const wxString &url) |
| 50 | { |
| 51 | wxEasyCurl curl; |
| 52 | // curl.AddHttpHeader( "Content-type: text/plain" ); |
| 53 | // curl.AddHttpHeader( "Cache-Control: no-cache" ); |
| 54 | // curl.AddHttpHeader( "Cache-Control: no-cache" ); |
| 55 | curl.AddHttpHeader("Content-Type: application/json"); |
| 56 | curl.AddHttpHeader("Accept: application/json"); |
| 57 | |
| 58 | curl.Get(url); |
| 59 | return curl.GetDataAsString(); |
| 60 | } |
| 61 | |
| 62 | |
| 63 | wxString GetDate(const int &_time_t) |
no test coverage detected