Category "rest"

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

Axios in React Native doesn't provide Form-Data headers

I'm trying to upload a file via Axios (Version ^0.26.0) in React Native (Version 0.66.4) with the following code: const formData = new FormData(); formData.appe

SEVERE: Servlet [Jersey Web Application] in web application [/restapp] threw load() exception

This is my REST API project. I don't know what this error is. I am trying resolve this error from two days now and i am exhausted now, anyone help me here web p

Docker container does not respond to http request

I'm trying to send an http request through axios, from my localhost (node server) to a docker container (which contains a simple server in node too) which belon

word add-in using OfficeJs

We already developed Excel add-in using officejs with RESTful api with Batching in custom Functions. And we wanted to achieve same in Word add-in hence kindly s

Issue with variable in REST API powershell

Background : The REST API request works correctly when I remove the variable $Description and put a string in line 11 . If I leave the variable then it doesn't

NestJS: Is it possible to call a third party API inside a guard?

I have create a guard to verify Okta tokens in my guard.However to verify there is another external api that needs to be called.Is it possible and advisable to

Django REST Framework ApiView not allowing DELETE

I am new to Django and I am having a issue sending a DELETE request to a class based view which inherits from APIView. Here is my class: class PageDetail(APIV

Azure POST request redirect using Azure services

Hello I am trying to deploy my Azure Machine Learning pipeline with a REST endpoint. My problem is that I was able to generate an endpoint but has some sensitiv

when connecting to coinbase (and coinbase sandbox) getting {'message': 'Invalid API Key'} errors with Python code

I am using the following demo code (written in Python 3.x) to attempt to connect to the Coinbase Sandbox. Below is the code I have been following. I keep gettin

Callback or event/delegate from C# core rest api BackgroundService

I´m currently working on a C# core 5.0 REST API with a RabbitMQ messagebus. I´ve created a class that derives from BackgroundService and the consume

Ecommerce table problem mapping in hiberate

I have created a product table which has four foreign keys mapping to different tables and creating relationship of ManyToOne. so i created manytoone relationsh

Interaction Between Flutter and FastAPI

Ubuntu 20.04LTS, with Python 3.8 for FastAPI, and Flutter 2.8.1, with Android SDK version 32.0.0. I am trying to send a Map from Flutter to FastAPI. I have figu

Problem with FastAPI patch request from Javascript

I made a REST service on python using FastAPI and I need to call the API using Javascript. This is my FastAPI server: class FieldUpdate(BaseModel): item_id: Opt

How to get login and pass from basic auth in spring boot

I'm writing REST app with spring boot. I wanted to implement authentication througn basic auth with login and password manually (without using of the spring sec

Are HTTP query string parameters and form field names containing dot (`.`) discouraged or prohibited in modern Web development?

I created a HTTP API endpoint for searching a database, it is used like this GET /orders?created_by.name=John&delivery_estimate.start=2022-06-01 Our web fr

RESTful web service: How can I take this data without printing out the other

I want to just take the data from menSize and its price but it keep printing out the womenSize eventhought it doesn't add anything in it. Do I need to seperate

ERROR Failed to load resource: the server responded with a status of 403 () en angular

Errors I get ERRORES: Failed to load resource: the server responded with a status of 403 () login:1 Access to XMLHttpRequest at 'http://localhost:8080/l