Given the API base URL is "url"

Set the base URL for API calls. Accepts full URLs or paths relative to LAUNCH_URL.

Step pattern

Given (?:the API base URL is|I set the API base URL to|the base URL is) "([^"]*)"

Examples

Example #1
Given the API base URL is "https://jsonplaceholder.typicode.com"
Example #2
Given I set the API base URL to "https://api.example.com/v1"
Example #3
Given the base URL is "http://localhost:3000/api"
Example #4
Given the API base URL is "https://un.org/api"
Example #5
Given I set the API base URL to "/api/v2"
Example #6
Given the base URL is "/webship.co/api"
Example #7
Given the API base URL is "http://127.0.0.1:8080"