agrostar / zzapi-vscode

VS Code extension for zzapi - an API testing and documentation framework
MIT License
3 stars 0 forks source link

URL and sub URL #2

Closed shyjuck closed 1 year ago

shyjuck commented 1 year ago

Is there any provision to provide a main URL (till root context) for the entire requests and the sub URL should be mentioned within each requests ?

Varun0157 commented 1 year ago

Yes, you can provide a baseUrl in common, and then assign url's per request. Check out the bundle specification for all functionality. The url in the individual requests get appended to the baseUrl if they start with a /.

Also check out the the tests bundle in zzapi-core for an example of the same.