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)
Peter Mortensen
  • 375
  • 1
  • 3
  • 10

1 Answers1

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.

Tyler Carter
  • 5,054
  • 1
  • 14
  • 11