Quantcast
Channel: Active questions tagged rest - Stack Overflow
Browsing all 4273 articles
Browse latest View live
↧

nexus 3: get list of all uploaded files to raw repository

We are using nexus 3.0i upload my files with curl to raw repository, like in documentation:https://books.sonatype.com/nexus-book/3.0/reference/raw.html#_uploading_files_to_hosted_raw_repositoriesi...

View Article


How to authenticate to Adobe Commerce rest APIs with OAuth 1.0a using...

I've created an integration on adobe admin. I have taken these secrets to postman and would like to now auth with OAuth 1.0 in a Kotlin application on the JVM. Any standard java libraries don't seem to...

View Article


"404 Not Found" when viewing swagger api-docs when using swagger-springmvc...

I am trying to configure swagger in my spring project, but hitting Hitting "http://localhost:8080/api-docs" says "404 Not Found".Maven Dependency<dependency>...

View Article

Firebase Auth REST requests returns 404 error code

Recently, i've created firebase project and registered web app and got api key.Then i've tried to test firebase Auth REST API using retrofit java library. By refering to firebase REST API documentation...

View Article

REST service causes error when called from Swagger

When I call this REST service endpoint: [HttpPost] [Route("call-history")] public async Task<IActionResult> CallHistory([FromBody] InputHistory body) { if (body == null) { return...

View Article


HTTP Error 403 when using Apache WebClient on HTTPS Service (that does not...

The java application I'm working used to call an inhouse rest service via http which delivers a PDF file as a response. The rest service has now changed it's url and switched from http to https.I have...

View Article

How do you document a REST API?

How do you document a REST API? Not just the documentation of what the resources are, but really what is the data that gets sent in the request and what the data is that gets sent back in the response....

View Article

WhatsApp Cloud API: Test Number Not Active After Generation

I am working on WhatsApp integration using the WhatsApp Cloud API. I successfully generated a test number after completing the WhatsApp Business Login process. However, when I try to send a message...

View Article


How to post JSON data to FastAPI and retrieve the JSON data inside the endpoint?

I would like to pass a JSON object to a FastAPI backend. Here is what I am doing in the frontend app:data = {'labels': labels, 'sequences': sequences}response = requests.post(api_url, data = data)Here...

View Article


howto handle array and object as response to the same rest endpoint

I'm integrating with REST API which can return sometimes an object and sometimes an array to the same REST endpointfor exampleHTTP 401 with body{"code": "_AUTHENTICATION","message": "Authentication...

View Article

Display FastAPI response (tuple) in an HTML textarea using Jinja2 Templates

Here is my FastAPI backend:main.pyfrom typing import Optionalfrom fastapi import FastAPI, Request, Formfrom fastapi.templating import Jinja2Templatesapp = FastAPI()templates =...

View Article

send Oauth 2.0 authentication request with Google Apps Script

I'm using apps script to create an interaction between a spreadsheet and a website using its API.I must first authenticate with Oauth 2.0, here is the documentation:Authentication - OAuth...

View Article

REST API calls from teams tab to backend server

I'm currently developing a custom Teams tab app for Outlook using React and need to consume a REST API hosted on a server.However, I'm encountering CORS (Cross-Origin Resource Sharing) issues when...

View Article


Retrofit recognizes Google Cloud REST API relative path as malformed URL

I've created firebase project and registered web app and got api key.Then i've tried to test firebase Auth REST API using retrofit java library. By refering to firebase REST API documentation base url...

View Article

How do we integrate the test evidences with X-Ray Jira via API's?

I want to upload the test evidences of an automation tests to the X-Ray Jira through API.I need what API and Endpoint is being consumed to upload the test execution evidences to X-Ray Jira.

View Article


Java Construct URI given full string

I am trying to create a java.net.URI (for use with spring RestTemplate) but I'm given a FULL url and I need to correctly encode things.Every example I see online, including using the Spring...

View Article

Is it possible to filter and create a new list from two other lists and...

Not exactly sure who to word my question, but it's more of asking for advice. I've got a Tank entity that will have a list of Test entities as well as a list of Enums. I want to return to the front end...

View Article


Getting a Null result when using json data from Site A using Site B Controller

I am having issue and I'm trying to figure out what causes this.SITE ASITE A Codeweb.phpRoute::get('/eon/auth/check/login', [ApiController::class, 'checkLogin'] );<?phpnamespace...

View Article

Can a Single SPA UI interact with many Backends?

I'm working on a company project where the UI interacts with multiple different microservices instead of a single fronting api microservice. Is it the right architecture? We also have an Authorization...

View Article

Azure usageDetails REST API - Cannot filter on tags

I am using PostMan to make a GET callout to Azure's REST API. According to their API Docs on usageDetail, you can use the $filter query parameter to filter on tags like this: tags eq 'Project...

View Article
Browsing all 4273 articles
Browse latest View live


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