5

How do I specify a parameter in the URL?

http://api.stackoverflow.com/0.8/questions works as expected.

Then I would like to pass parameter body with a value of true (that is available according to the documentation for /questions).

I have tried:

http://api.stackoverflow.com/0.8/questions/body{true}

and

http://api.stackoverflow.com/0.8/questions/body(true)

1 Answer 1

7

Like so, in the query section of the URL:

http://api.stackoverflow.com/0.8/questions/?body=true&field=value&field1=value1

See Wikipedia.

2

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.