Skip to content

ERROR FOUND #3498

Nov 5, 2024 · 4 comments · 1 reply
Discussion options

You must be logged in to vote

Go to the "get books" request in your collection.
With your cursor, select the entire base URL of the API (https://library-api.postmanlabs.com). Do not include the slash / after .com.

Click "Set as variable" to save the base URL to a variable.
It reveals a popup that allows you to set the text as a variable

Click "Set as a new variable".
Set a new variable

Name your new variable "baseUrl" and select "Collection" as the scope, then click Set variable.

Alternatively, you can click on Collection name and then variables tab in the editor and add a new variable over there.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Gowtham-369
Comment options

Answer selected by AMISHEEMATHUR28
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants