-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client fixes #959
Client fixes #959
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
@@ -81,3 +81,15 @@ For the shortcut methods (since the only mandatory option is intrinsic in the fu | |||
```ts | |||
client.get('https://google.it', { validateRequest: false }).then(response => console.log(response)); | |||
``` | |||
|
|||
You can also use relative links when doing requests. In such case you won't be able to use the proxy and the server validation will be disabled: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these relative or root-relative? https://mor10.com/html-basics-hyperlink-syntax-absolute-relative-and-root-relative/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Root relative. /pet/10
CreatePrism
instances for a faster find next time I'll need to refactor themerrors
option (it was listed twice!) from the wrong placeError.captureStackTrace(this, ProblemJsonError);
— that function is V8 specific and does not work in other browsers