api 1 api

#get articel in your progrez blog
curl -d "user_key={USER_KEY}" -d "published=1" -d "limit=2" -d "request=title,thumbnail,content"

Here is what the above code is Doing:
1. We’re using the curl command to send a POST request to the blogme endpoint.
2. We’re sending the user_key as a POST parameter.
3. We’re sending the published parameter as 1, which means we want to get published articles.
4. We’re sending the limit parameter as 2, which means we want to get 2 articles.
5. We’re sending the request parameter as title,thumbnail,content, which means we want to get the title, thumbnail and content of the articles.

The response will be in JSON format.

Similar Posts