Quantcast
Channel: Active questions tagged rest - Stack Overflow

Is it possible to request some data that has 'contains' clause with REST API...

Is it possible to request some data that has 'contains' clause with REST API server https://restful-api.dev/Is is possible to list objects that match partially e.g. object contains "samsung" ?Thanks.

View Article


Can some one simplify jwt authentication and authorisation in Django Ninja?

I have recently started using Django ninja for REST API.I found it extremely easy but for the authentication flow. I just can't understand what exactly I can do for the following.Create a registration...

View Article


Image may be NSFW.
Clik here to view.

GET request works in browser but not in POSTMAN - Cloudfare denies it

I am trying to access the following API and this is the behaviorAPI = https://api.btcxindia.com/ticker/While accessing this API from Postman , I get the output. However, if I leave my postman open and...

View Article

How to properly format a POST request to a custom business central API

I have a business central API page. When I POST to it, I get a 400 error. Here is the AL code for the page:page 50115 PunchoutReceiverAPI{ PageType = API; APIPublisher = 'Contoso'; APIGroup =...

View Article

CORS not returned in response Headers (Aspire.Net + dotnetcor web api)

Ok, I have no idea why and therefore no idea how to fix this.I am running and Aspire.net project in .net9The minimal setup is Keycloak as identity provider and aspcore.net, api services with and...

View Article


IIS Proxy using ARR to communicate with http endpoint using .Net and Rasa

I try to communicate with a Rasa Chatbot hosted by a client from a .NET Core 6 WebApp hosted by my company with IIS.The Chatbot runs currently on a Computer with the Adress: localhost:5005.Now the...

View Article

Delete docker images from nexus registry using api

There's a nexus setup running for docker registry. I'm struggling to delete old/unnecessary images from nexus setup using the APIs.So far I'm aware of below available APIs. There are 2...

View Article

Using Azure Open AI APIs to assist customers based on web search

I am working on a project to integrate an AI chat in our app help evaluate a certain product and compare it to similar products on the market. To do so, I need my AI app to retrieve data from the...

View Article


Append Data to an Existing File Without Replacing using Github REST API

I'm trying to append data to a JSON file in a github repository using Github REST API calls. These rest calls are executed using Postman and for each Postman request, a new line should be added to the...

View Article


Should Content-Type "application/problem+json" be considered a (sub) subtype...

I am building API endpoints that will deliver error responses as mime/media type application/problem+json (see RFC 7807).So something like this (example from [1]):HTTP/1.1 401 UnauthorizedContent-Type:...

View Article

How do I get a list of released artifacts sorted by version from Maven...

I would like to retrieve a list of released artifacts from the official Maven Central Repository REST API sorted by version. But I don't know how to do that. I have tried with the following example...

View Article

WhatsApp Business API – Unable to Download Media from URL

Upload MediaPOSThttps://graph.facebook.com/{{API_VERSION}}/{{PHONE_NUMBER_ID}}/mediaResponse{ "id": "1456006832081595" // media_id } Fetch Media...

View Article

Image may be NSFW.
Clik here to view.

How to fetch and reuse the CSRF token using Postman Rest Client

I am using Postman Rest client for hitting the rest services. I am getting the following error when I try to execute the rest service from Postman client.HTTP Status 403 - Cross-site request forgery...

View Article


How do I get the list of runs for last 30 days in github actions?

How do I modify this API call to get the list of runs for the last 30 days?Endpoint:https://api.github.com/repos/[OWNER]/[REPO]/actions/runsI...

View Article

Flutter connection with external API on Raspberry, via tailscale

I have a Raspberry with Tailscale installed and a phone with Tailscale installed.The two devices ping each other.An API is hosted on the raspberry that is called by an application developed in flutter...

View Article


Image may be NSFW.
Clik here to view.

Create a custom CRUD query timesout during API call

I am learning to build APIs with CrudRepository.I am trying to mimic this:I have 3 controllers, services, repos, etc. Mood, Stress and User.Inside of my MoodRepository, I have the...

View Article

Non blocking REST with Spring Boot and Java 8

I need assistance.An issue with one of my endpoints timing out is causing me distress.I did some performance tweaking with SQL and other REST services I am using but it only helps a little bit.A nice...

View Article


How can I resolve 404 and Not Authorized errors when requesting a bearer...

I've been trying to connect to the EUIPO API but nothing seems to work. Anyone here has been able to make a simple request to the API? I'm trying to get a simple search result for the trademark...

View Article

HTTP status code when single request asks for too large resource or too many...

Does somebody know which HTTP status code is the right one for the following situation?An anonymous client requests a range of items from a collection via a RESTful API. The client uses GET method with...

View Article

How can I fix this error with my API (404 not found)

I'm making an application that takes codes from mongoDB and lists them onto a web page, but currently I'm getting an error in the console:GET http://localhost:4200/api/code/codes/ 404 (Not Found)...

View Article

Tibco BW Conditional Flow

I need to invoke a REST service in a Tibco BW, however, the endpoint depends on some condition.my question is how we can implement a conditional flow in the Tibco BW.

View Article


"Http failure during parsing" in Angular

I am trying to connect my Frontend in Angular to an Api developed using .NetCore but I am getting the following errorHttp failure during parsing for http://localhost:5000/User/registerDespite the error...

View Article


How to upload images via API on postimages.org

Can someone help me reverse engineer the api for postimages.org? cause they don't provide documentation for their api. I want to upload images through api but I can only find methods to upload...

View Article

How to make post request in apache camel rest

I am new apache rest dsl with spring boot, have made following changesMain Classpackage com.javaoutofbounds.pojo;import org.springframework.boot.SpringApplication;import...

View Article

SOAP and REST application architecture for PyQt6 [closed]

I want to make a PyQt6 application that sends and receives data using SOAP and REST.I'm having trouble creating the architecture of the application.Where should I start the SOAP service?Should I manage...

View Article


Pagination in a .NET Core API Project

I am trying to implement pagination on .NET CoreRESTful API's (with EF). Rather than re-inventing the wheel, I was hoping there was a way to either use a generic function that could hook into the API...

View Article

Unable to Bind Managed Certificates to Custom Domains in Azure Container Apps...

Issue Description:We are using Azure Container Apps to host a multi-subdomain website (*.domain.co.uk) with more than 150 custom domains successfully bound using Azure-managed certificates.In the last...

View Article

Authenticate to Google Language API using API Key for a REST-based web...

I am receiving an error, 401, when trying to authenticate to Google API using an API Key.The following is the JavaScript code used to make the call:function test(){ const outputElement =...

View Article

Do BFF and Middleware do the same thing? [closed]

I've come to the conclusion that BFF and Middleware are exactly the same thing, with different names and "roles." But at the end of the day, they both do exactly the same thing.BFF vs Middleware -...

View Article



How to configure Spring TestRestTemplate

I have a REST (spring-hateoas) server that I'd like to test with a JUnit test. Therefore I am using an autoinjected TestRestTemplate.But how do I now add some more configuration to this pre configured...

View Article


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