V
V
vadim_tur2015-09-23 16:14:28
.NET
vadim_tur, 2015-09-23 16:14:28

WEB API not returning data?

I used the web api example ( link ), everything worked, I added my own function there that performs some actions with files, it works fine, but return does not return anything, although my products function does not affect it in any way (taken from the example). At the bottom of the screenshot, you can see that the function worked and returned 1, but why does the request page freeze in the browser and return nothing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2015-09-23
@dmitryKovalskiy

Sorry, but it's not clear what your code does, and what you actually wanted. 1 is added to some obj, then the result is stored in a temp variable, and some products are returned. Please add a fuller listing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question