Category "rest"

kibana-Unable to retrieve version information from Elasticsearch nodes.missing authentication credentials for REST request

Im trying to Install kibana 8.1.1 on windows10 the thing is when it starts installions it stops on an error like that [2022-04-16T01:16:59.744+00:00][ERROR][ela

Rest API Healthcheck Best Practices-Looking for Resources

TLDR: I have been googling and finding opinions and blog posts but looking for some established (if any) Best Practices for Rest API Healthcheck development. I

How can I POST data in real time using FastAPI?

I built a simple demo project using FastAPI. I would like to POST data to the server in real time (maybe 30fps). # in client while True: .... res = requ

OpenID Connect + Django DRF + React: How to use?

I have a web application made up of two parts: back-end which is implemented using Django + Django Rest Framework (DRF), and front-end which is a React App proj

File upload Angular 13 Spring boot rest Required request part 'file' is not present

I'm searching since days now for a solution and can not find any. I have a simple Spring Boot Rest application (Spring version 2.6.7) with an endpoint to upload

C# REST API File Upload from Client Code gets 400 Bad Request

I have a Rest API written in .Net core that accepts a File as input as Multipart/Form-data. The API works absolutely fine when I run it from Swagger/Postman. He

Fixing of Java.lang.IllegalStateException: No active conversation found. at com.rapidclipse.framework.server.jpa.Jpa.getEntityManager(Jpa.java:200)

I have a running RapidClipse X Project, in which I work with a MySQL Database. I created a class to copy data from one table into a second table. For this I use

I can't call PATCH method using Pug, Mongoose and Express.js

I am new to code and I apologize in advance for all my noob mistakes. I'm trying to set a new color to an existing object stored in MongoDB using the PATCH meth

Why Rest API response is giving question mark "?????" for the Arabic language in Azure Build Report

In Rest Assured Automation, Expectation is to validate Arabic text in Response. In local system, While hitting the API getting the Response in Arabic format. Bu

RESTful API HATEOAS

I've come to the conclusion that building a truly RESTful API, one the uses HATEOAS is next to impossible. Every content I've come across either fails to illust

How to set database dynamically based on client request in Laravel

I am using a Laravel Application as a backend and wish to set the database connection dynamically (and keep it until the page is refreshed) through an axios req

Strapi v4 REST API :GET image [closed]

please I am working with the new strapi v4 and... In the old versions of strapi all I needed to do in order to get the image from my collectio

What is the correct way of adding parameter to ignore case for search text in a REST API

I have an API endpoint to retrieve all users. There are 3 query parameters for searching/filtering the results as follows. GET /users?name=test&age=23&a

How to upload Multiple Images to rest API in Flutter?

I am trying to upload upload multiple images to Rest API in flutter. the code i have written is given below: final List<File> _image = []; Future<F

How can we add more than 3 authors field for a single magzine? in Django models

I created a magzine model in django. But their are more than three authors of a magzine. I have written below code for three authors. If I write the code of two

How to Update JSON value using Java

I have below json, i want to update each and every value of that json but sometimes only one value { "msgType": "NEW", "code": "205", "plid": "PLB52145", } I'

Sign error for bybit using c# when sending post request

I am trying to send a simple post request to the bybit api and I keep getting the 10004 sign error. Here is the response: {"ret_code":10004,"ret_msg":"error sig

Return to the list of a repository in Controller

I'm trying to return a list that is inside a Repository in my controller, but I'm not getting it. Could someone help me? This is a RESTapi for an ATM project th

Getting error while POST request with large payload

Facing this issue when I am passing a large(66kb) payload with a POST request. It works for a smaller payload. PS: I am using http in the request as suggested b

BOM Preamble in .NET Rest API causing Twilio Parse Error 12100

We have a .NET Rest API that is a web-hook for Twilio. It returns a TwilioResponse object. Suddenly, Twilio is reporting a Parse Error 12100 on the hook. We lo