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.

Not the answer you're looking for? Browse other questions tagged .