web api

  1. M

    Question Call API every x minutes

    I'm trying to figure out the best option to handle this type of scenario. I have a C# web application that inserts data into a SQL table. Once a new record has been added to the SQL table, a unique id is assigned, and the record is assigned a status value of "Available". I will need to...
  2. 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": [...
  3. 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...
  4. 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"...
  5. 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...
  6. 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
  7. 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...
  8. N

    How do you publish a Database Account Management web page

    How can i delete a question?
  9. 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