Mike Marks
Mike Marks

Reputation: 10139

When calling a web service that returns data, is the data that's being returned over HTTP limited to binary data?

Meaning, if I have a web service (a WebAPI) that accesses a file share, picks up a file to return back to the client over HTTP (this file is a 50mb .tpk mapping file), is the data that the calling client receives limited to binary data (meaning, the client will have to encode the binary data back to the .tpk file extension in order to use it)? Or can the data that's returned to the client retain the .tpk file extension so conversion wouldn't be necessary? Forgive my slight ignorance on this, this is new to me.

Upvotes: 0

Views: 63

Answers (1)

Matt Pavelle
Matt Pavelle

Reputation: 819

I believe what you are asking is, "can you return content types?" If my interpretation of your question is correct, then the answer is yes.

This article might be helpful

Or did I completely bork the interpretation?

Upvotes: 1

Related Questions