Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pgajek2 authored Oct 21, 2024
1 parent baf4d11 commit b646fc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Http Mock Lib

Http Mock inspired by Robert Sösemann's [Apex Http Mock](https://github.com/rsoesemann/apex-httpmock).
HTTP Mock inspired by Robert Sösemanns [Apex Http Mock](https://github.com/rsoesemann/apex-httpmock).

❌❌❌

Expand Down Expand Up @@ -136,7 +136,7 @@ HttpMock body(Blob body);

### Use built-in Content Types

Use different content types. By default content type is set to `application/json`.
Use different content types. By default, the content type is set to `application/json`.

```java
HttpMock contentTypePlainText(); // text/plain
Expand All @@ -154,7 +154,7 @@ Use `contentType(String contentType)` to set your own content type.

### Use built-in Status Codes

Use different status codes. By default status code is set to 200 (OK).
Use different status codes. By default, the status code is set to 200 (OK).

Available status codes:

Expand All @@ -181,7 +181,7 @@ Use `statusCode(Integer statusCode)` to set your own status code.

### Set custom headers

Set response headers using `header(String key, String value)` method.
Set response headers using the `header(String key, String value)` method.

```java
new HttpMock()
Expand Down

0 comments on commit b646fc3

Please sign in to comment.