New answers tagged

0

You can use cross-origin resource sharing and send a script as a variable that a script engine evaluates and returns the evaluated function.


1

Is this RESTful? public PlanksTotalController : Controller { public double Get(int reps, TimeSpan duration) { return reps * duration; } } Maybe, maybe not. I don't really care if it meets the criteria for some ideal architecture. I care that I've created a service that is useful across platforms. I've deduplicated my code base by ...


2

You forgot about POST. You need to learn a bit more about REST (you actually need to learn a whole bunch of other stuff as well), but suffice it to say that if you want to do any other operation besides a GET, PUT, PATCH or DELETE, it's probably going to be a POST. Also, note that there are other ways to communicate with a server besides REST. Stand up a ...



Top 50 recent answers are included