Rest Assured — URL encoding

http://www.mocky.io/v2/5c78ed70300000a42d49b04d?user=qavisenti@gmail.com&groupby=zone&displaygroup=smart
http://www.mocky.io/v2/5c78ed70300000a42d49b04d?user=qavisenti%40gmail.com&groupby=zone&displaygroup=smart
RestAssured.baseURI = "http://www.mocky.io/v2/5c78ed70300000a42d49b04d";RestAssured.urlEncodingEnabled = false;RequestSpecification httpRequest = RestAssured.given().
queryParam("user","qavisenti@gmail.com").
queryParam("groupby","zone").
queryParam("displaygroup","smart").
request().log().all();
Response response = httpRequest.request(Method.GET);

--

--

--

Techie | Traveler | Writer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

6 Tools/Frameworks To Build Your Next App

5 tips to boost your Angular skills

বুষ্ট জেটপ্যাক ডে-২

Practical Unit Testing

Best Practices For Using TypeScript with Node.js

Arrow function: What is this? (1)

How the balance tipped in favor of React Native

647. Palindromic Substrings Notes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dilshani Subasinghe

Dilshani Subasinghe

Techie | Traveler | Writer

More from Medium

Selenium Grid Setup with Docker

Grid Snapshot

OWASP Top 10:2021 (JAVA)

class.newInstance() bug reproduced

C.O.R.S. (Cross Site Resource Sharing)