0

I'm sending a url and get a json back.But the url has many parameters, about 10 parameters, like below.

https://faceplusplus.com/api/?key=00000000000000&q=flowers&tags=photo&lang=en&pretty=true

The parameter "q" has many values, users may change the valus as they want, so does other parameters.

How to build the url with a clean way?

3
  • 3
    Can you show the current code that you are using to build this URL? Commented Aug 28, 2018 at 13:43
  • To give you a great answer, it might help us if you have a glance at How to Ask if you haven't already. It might be also useful if you could provide a minimal reproducible example. Commented Aug 28, 2018 at 13:48
  • The HttpFormUrlEncodedContent class provides the basic building blocks for that, seeing as you are likely POSTing an application/x-www-form-urlencoded request. Commented Aug 29, 2018 at 7:31

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.