Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2

Accompanies [app]s written in, or [library]s meant to be used from, the C# programming language

5 votes
Accepted

URL Format: Special Characters

Use UrlEncode not HtmlEncode. # is legal in HTML, but a restricted character in URLs.
Kevin Montrose's user avatar
4 votes

Odd String Format Result from API Call

All responses from the API are compressed. You can specify the compression scheme (gzip or deflate) in the Accept-Encoding header. If you don't specify, one will be chosen for you. We used to throw …
Kevin Montrose's user avatar
4 votes
Accepted

Stacky JSON error

Shot in the dark, but I bet "0.9" should be "1.0" in your code. The API version is currently 1.0, 0.9 was a beta version which has long since been deprecated.
Kevin Montrose's user avatar
2 votes

Getting "Bad request 400" code when posting to StackOverflow api

string post_data = "client_id={0}&client_secret={1}&code={2}&redirect_uri={3}"; post_data = string.Format(post_data, code, clientId, redirect_url, apiSecret); Shouldn't that be string post_data = " …
Kevin Montrose's user avatar
2 votes

"access_denied" error in the write answer at stackoverflow

You have to create a post describing your application, and edit it into your application's registration. Basically, the first arrow needs a value; and you can set it when you edit (with the second …
Kevin Montrose's user avatar