Skip to content

Commit 3c83bff

Browse files
committed
docs: add note about path full url
1 parent c37f3fb commit 3c83bff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ By default, this method will return a `string` as it will be the response of the
141141
If you want to change how the response is handled in all requests (for example, decode a JSON string into an array),
142142
check the [`addResponseContentsListener`](#addresponsecontentslistener) method in the [Event Listeners](#event-listeners) section.
143143

144+
> [!NOTE]
145+
> If the `path` set is a full URL, it will be used as the request URL even if a `baseUrl` is set.
146+
144147
#### `buildPath`
145148

146149
The purpose of this method is to have an easy way to build a properly formatted path depending on the inputs or parameters you might have.

0 commit comments

Comments
 (0)