Skip to content

Commit

Permalink
Merge pull request #13 from ButterCMS/fix_add_to_put
Browse files Browse the repository at this point in the history
Changes checked and approved by @barbarNik
  • Loading branch information
ViolanteCodes authored Nov 23, 2022
2 parents 08d1e02 + 1b8d7fe commit 00bb200
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Listing posts returns a [PostsResponse](#postsresponse-class) object. This objec

```java
Map<String,String> queryParams = new HashMap<String,String>(){{
add("exclude_body","true");
put("exclude_body","true");
...
}}
PostsResponse posts = butterClient.getPosts(queryParams);
Expand Down Expand Up @@ -143,7 +143,7 @@ Searching posts will return a PostsResponseObject [PostsResponse](#postsresponse

```
Map<String,String> queryParams = new HashMap<String,String>(){{
add("query", "search query");
put("query", "search query");
...
}}
PostsResponse posts = butterClient.getPostSearch(queryParams);
Expand All @@ -169,7 +169,7 @@ Listing posts returns a [AuthorsResponse](#authorsresponse-class) object. This o

```java
Map<String,String> queryParams = new HashMap<String,String>(){{
add("include","recent_posts");
put("include","recent_posts");
...
}}
AuthorsResponse authors = butterClient.getAuthors(queryParams);
Expand All @@ -195,7 +195,7 @@ Retrieving an author returns an [AuthorResponse](#authorresponse-class) object.

```java
Map<String,String> queryParams = new HashMap<String,String>(){{
add("include","recent_posts");
put("include","recent_posts");
...
}}
AuthorResponse authors = butterClient.getAuthor("john",queryParams);
Expand All @@ -222,7 +222,7 @@ Listing Categories returns a [CategoriesResponse](#categoriesresponse-class) obj

```java
Map<String,String> queryParams = new HashMap<String,String>(){{
add("include","recent_posts");
put("include","recent_posts");
...
}}
CategoriesResponse getCategories = butterClient.getCategories(queryParams);
Expand All @@ -248,7 +248,7 @@ Retrieving an author returns an [CategoryResponse](#categoryresponse-class) obje

```java
Map<String,String> queryParams = new HashMap<String,String>(){{
add("include","recent_posts");
put("include","recent_posts");
...
}}
CategoryResponse getCategories = butterClient.getCategory("java",queryParams);
Expand All @@ -275,7 +275,7 @@ Listing Tags returns a [TagsResponse](#tagsresponse-class) object. This object c

```java
Map<String,String> queryParams = new HashMap<String,String>(){{
add("include","recent_posts");
put("include","recent_posts");
...
}}
TagsResponse getTags = butterClient.getTags(queryParams);
Expand All @@ -301,7 +301,7 @@ Retrieving an author returns an [TagResponse](#tagresponse-class) object. This o

```java
Map<String,String> queryParams = new HashMap<String,String>(){{
add("include","recent_posts");
put("include","recent_posts");
...
}}
TagResponse getTag = butterClient.getTag("java",queryParams);
Expand Down Expand Up @@ -458,7 +458,7 @@ Listing Pages returns a [PagesResponse&lt;T&gt;](#pagesresponse-class) object. T

```
Map<String,String> queryParams = new HashMap<String,String>(){{
add("query", "search query");
put("query", "search query");
...
}}
PagesResponse posts = butterClient.getPageSearch(queryParams);
Expand Down

0 comments on commit 00bb200

Please sign in to comment.