user3572565
user3572565

Reputation: 741

How do I offer JSON as a url with parameters?

Can someone point me in the right direction or give me some instructions on how I would publish a site that offers JSON? I know this may sound a bit basic. I have some SQL data that I want to convert to JSON and then have other devices request the JSON using a URL I provide.

Upvotes: 0

Views: 40

Answers (1)

snow_FFFFFF
snow_FFFFFF

Reputation: 3301

You have a lot of options as far as server-side technology, but in the end, you need to accept the parameters, select your data and return content that is application/json. Since you have a SQL Server back-end, you might look at Microsoft's Web API as the technology to expose your data.

Upvotes: 1

Related Questions