web api

  1. ravidusing7

    Create JSON Payload Request Body?

    I do not have any idea how to create below JSON request below using C# Below is the result set. Below is the JSON payload i want to create using C# { "order_id": "10323730", "carton_no": "002", "qrcodes": { "F2VFN080": [ "lvs-d1PaZGmyfx", "7BhoKm4Hy1", "lvs-wGToHhv4zW" ], "F2VFN082": [...
  2. R

    Question ASP.NET Core 6 Web API - How to return 400 bad request responses from middleware

    Hi guys, I have an ASP.NET Core 6 Web API that I am calling 3rd party web services. I have exception middleware in order to log exceptions and return 500 responses to hide the details from the user. When this 3rd party web service returns 400 bad request, I also want to return it to the user but...
  3. P

    How to loop through JSON data?

    Hi, I am calling an api and this is the return data. Could you please help me to loop through the JSON data? The JSON string - { "Outputdata": { "@xmlns": "http://xmlns.oracle.com/apps/pa/.......", "@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance", "TASK_0"...
  4. S

    HttpOnly cookie in development environment

    Hi, i have the Problem that i want to send after a successul Login on my net core Web API a httponly cookie to the Browser (to save a Refresh Token Authorisation). But i can't see after the Login the cookie in the Browser (Development Tools - Application Data). I am in development Mode: API...
  5. Phani_2204

    Question Push notification using firebase?

    We have created an app which captures error logs. API's help us do that but when the error is created user must be notified. Can you help us? Source code:- GitHub - ranadeepmedagone/LogApp
  6. R

    Question adding Bearer Token to BasicAuthentication?

    Hi, I have an ASP.Net Web API 2 with BasicAuthenticationAttribute that is working as expected. In my application, there are different controllers and I want to add bearer token-based authentication to one of my controllers. I added those NuGet packages: Microsoft.AspNet.WebApi.Owin...
  7. N

    How do you publish a Database Account Management web page

    How can i delete a question?
  8. Y

    Question Error retrieving token ASP.NET Web API template

    I?m working with a project that has been created as a ASP.Net Web Application with the ?Web API? template and ?Individual User Accounts? enabled as the authentication option. I have a console application that consumes the web api. But When I want to get the token it gives me an html string with...
Back
Top Bottom