GET news/clearCache
Clears the news cache so that recently created/updated news items appear instantly.
URL:
http://mobileroadie.com/api/news/clearCache
Formats
XML, JSON, HTML
HTTP Method(s):
GET
Parameters:
-
api_key
-
Required
-
Usage Example
http://mobileroadie.com/api/news/clearCache/key/4d4ba30d73b77f7/limit/10/format/xml
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/news/clearCache/key/4d4ba30d73b77f7/limit/10/format/xml"); curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY); $response = curl_exec($handle); curl_close($handle); ?>
Example XML Response
<?xml version="1.0" encoding="utf-8"?> <xml> <status>OK</status> </xml>
Comments
0 comments
Please sign in to leave a comment.