Quantcast
Channel: Web API
Browsing all 4850 articles
Browse latest View live

The requested resource does not support http method 'GET'

Storytime: So, im currently implementing my Azure SQL DB with my Xamarin android app, however ive hit a roadblock as i cant post directly to the database from android(from my console project i can...

View Article


CORS Error in .NET Core 2.0 Web Api

Apologies as I am somewhat new to .NET Core 2.0 . I have an WebApi(.Net Core 2.0)   that I am currently serving in IISExpress for debugging.. My Aurellia web page tries to make an api call and I get...

View Article


How do I control my User account in Postman

I have a .NET Core  WebApi controller method I am able to hit in Postman. However, I receive a SQL Server error when the method goes to talk to the database. It seems I am coming across with my machine...

View Article

Call WebApi from MVC application and pass the value to a model class

I am new to API and MVC.  I have a MVC application which calls a third party Api. The Api returns the data in Json format.I want to get the Json data and map it to a class object.

View Article

Exception thrown: 'System.Reflection.TargetParameterCountException' in...

HiI have an asmx file,without web reference and service reference i had created code like the below. I had passed url,servicename,methodname and parameters as args. I am getting error  Parameter count...

View Article


Address verification API for SQL records

Hello,I have some address records in SQL tables that I need to verify, correct or delete them as appropriate. I am looking for an API or a Web service that takes the address verifies whether it exists...

View Article

An exception of type 'System.IndexOutOfRangeException' occurred in...

public IEnumerable<PraptraEntity> Get(string month, string year) { SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["conn"].ToString()); SqlCommand cm = new...

View Article

INTG Server Accepts SYST client Certificate and returns 200 response-...

We have developed a Web API application and we are using Mutual TLS V1.2 for Authentication. We have two servers (X and Y) in INTG Environment and also we have a load balancer. Server X and Y are...

View Article


Intermittent 401 UnAuthorized error in TLS Hand Shake

We have developed two different Web API application assume that A and B and both are hosted in Same servers(Server X & Y) and we are using Load Balancer.A connects with B for getting the Data and...

View Article


Http and soap

Hi I have a method name,url with asmx. Dynamically code using httpwebrequest. Detemine parameter to be passed to method dynamically

View Article

API Gateway using Ocelot - JWT Token Authentication (Asp.Net Core 2.1)

Hi All,I've followed the below article link to authenticate API gateway using Ocelot. I use .Net core 2.1 When I run the application the API wasn't authenticated and shows the result as NOTFOUNDas...

View Article

Get data of Web Api is returning in Ajax Error function

Hi,I have created one Web API and published in local IIS and using it in other MVC Application in Jquery Ajax function the issue is that the Data is returning in Ajax error function , below is the code...

View Article

Should you make multiple calls on a single web service connection?

I'm consuming web services from a 3rd party vendor.  I currently have my code where I create the connection to the web service and then make all the necessary calls on that single connection.I was...

View Article


Help needed in Data transfer object practice

Hello,I am designing API which will be consumed by mobile app and website. when i create the class with properties, should i use mixed data types else all as stings. below are the two examplepublic...

View Article

Best Way to Save Request and Response when Consume APIs

Dear All,We consuming many web apis and different-2 technologies so we are saving logs for request and response at time of making request call and response save to physical hard drive.Now this is time...

View Article


Web serice design advise

Dear all, I need to study a specific customer request with the following constraint : I have a SERVER A which is hosting SQL server 2012 I have CLIENT A which is hosting locally a Server 2012 database...

View Article

How to return web service with success, failure method

Hi, I have to create a android app. I am creating a web service  in .asmx, it will return in json format.["message":"Login...

View Article


File Upload controller method using MultipartFormDataStreamProvider size limit

Hi All,I'm attempting to create a WebAPI2 Controller method that allows clients to upload files to the server. Based on multiple tutorials, I have successfully written the method using...

View Article

Web ApiUrl with method name and parameter. read the dataset

Hi,I have web Api url ,method name,parameters for method. I need to read the dataset. how to read it. need helpAnand

View Article

Find all the child test suites in TFS using C#

I would like get all the child test suites under a parent test suite in TFS using C# code. Let me know if anyone has done this.

View Article
Browsing all 4850 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>