Posts by Erick Jordan Silva • 34 points
3 posts
-
2
votes2
answers391
viewsA: consumptionwebservice Rest returns: No 'Access-Control-Allow-Origin'
Friend, good morning Try to enable ;CORS on your Webservice in the case in c#, which is the language q use gets like this in the WS method: [HttpGet] [EnableCors("AllowSpecificOrigin")] public…
-
0
votes1
answer77
viewsA: Error consuming web service with ajax (JSON) in Cordova app
The solution to this question was as follows: I had to make the correction of the parameter that was being sent by the ajax call that follows: function EnviaCliente() { var json1 =…
-
-3
votes1
answer77
viewsQ: Error consuming web service with ajax (JSON) in Cordova app
Good evening I built a web servisse where there is a method that receives a string parameter, which I use to serialize to a class as follows: /*parte da classe cliente*/ public class Cliente {…