Questions tagged as 'asp.net-web-api'

0
answers

Api Symfony with Auth0

Can anyone help me is that I'm having trouble implementing Auth0 to authenticate an api I'm looking at this example link Thank you     
asked by 05.09.2016 / 19:06
0
answers

Using asymmetric encryption between Xamarin PCL Client and Web Api

I'm having a problem creating an asymmetric encryption between my client app using Xamarin Forms (PCL) and the server (Web Api). I did using symmetric and asked for me to modify. I already do everything via SSL, but still want asymmetric encrypt...
asked by 20.09.2016 / 16:40
0
answers

Code to receive file via POST

I'm doing a webAPI to receive files via post. The client will send via classic vb with the following code: Set content = CreateObject("MSXML2.XMLHTTP.6.0") content.Open "POST", url, False content.setRequestHeader "TOKEN", token content....
asked by 20.09.2016 / 14:34
1
answer

MOIP consume Json Web Api MVC

I need to use the Moip payments API as payment method of my system, how do I do the request via json ? Documentation Consultar cliente GET Por meio desta API é possível consultar as informações e detalhes de um cliente. ENDPOINT...
asked by 10.08.2016 / 18:13
1
answer

Consume WebAPI by AngularJs

I have a POST method in the WebAPI, and this is the Api RoutePrefix, the Route of the POST method and Cors is enabled. [RoutePrefix("api/v1/crm")] [EnableCors(origins: "*", headers: "*", methods: "*")] public class EmpresaParticipanteControlle...
asked by 13.07.2016 / 15:34
1
answer

Send object from AngularJs to POST of WebAPI C #

I have a form, which I am trying to save the information in the SQL Server database. <html ng-app="Crm"> <body ng-controller="CrmCtrl"> <form name="novoCrmForm"> <div class="row"> <div class="form-group text-left...
asked by 01.07.2016 / 15:12
1
answer

WebAPI problem when trying to deserialize object with property of the same type (circular reference)

I'm doing some tests with WebAPI , to see how it behaves with circular reference, and I found a curious case. Model [DataContract(IsReference = true)] public class Pessoa { [DataMember(EmitDefaultValue = false, Order = 1)] p...
asked by 26.04.2016 / 21:55
1
answer

How to return query for a string using WebAPI?

I have the following code which gives me an error:    The inline constraint of type 'DefaultInlineConstraintResolver' was unable to resolve the following inline constraint: 'String'.       Exception Details: System.InvalidOperationException:...
asked by 06.11.2015 / 03:20
1
answer

Project only runs if Visual Studio is installed on the client machine [closed]

Hello. I have a project done in WPF, which uses data returned by web services to interact with the user. This system, when you start, consult IIS to see if it is standing, if the web services are there and if they are operative, if it is not it...
asked by 13.10.2015 / 17:14
0
answers

jwt.io integration with web api

Has anyone managed to find documentation or was able to integrate link with Web Api? I'm looking for a step by step or documentation and nothing ...     
asked by 24.08.2015 / 19:28