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

Oracle Cloud REST API Endpoints for financial table extraction

We're trying to connect to an Oracle database using REST APIs to extract data from certain GL Tables.Apologies as i'm quite unfamiliar with Oracle but we're looking at Oracle Fusion Cloud Financials...

View Article


Create and place Objects and their Relationships on Models in Adoit using...

I want to create and place objects (elements) and relationships (connections) on models (diagrams) in Adoit from BOC using REST API.I checked several sources. The most promising ones...

View Article


Spring RestTemplate gives 401 Unauthorized error when sending with...

I am trying to hit one Microsoft Flow POST URL in my Spring Rest application using following code but it is giving me 401 error.My Code: @RequestMapping(value = "/hookslistner", method =...

View Article

Getting 404 on simple Spring 4 REST service

I am trying to access a RESTful web service I have written:http://localhost:8080/dukegen/ws/family/1but getting a 404 using the address bar in the browser and do not know why. I am trying to return...

View Article

Why am I getting a 401 Code when trying to do a post request with Python3...

import requestsimport arubaapiimport jsonimport urllib3from urllib3.exceptions import InsecureRequestWarningurllib3.disable_warnings()myUsername = 'username'myPassword = 'password'def...

View Article


Unable to get POST working with Yii2 RESTful API

I coded a RESTful API in Yii2-Basic using ActiveController and Basic Authentication. I can get the GET method to work, but when I try the Post, using Postman Chrome Extension, it throws an error saying...

View Article

Image may be NSFW.
Clik here to view.

Unhandled Exception: HandshakeException: Connection terminated during handshake

I am new to flutter. I connected to a local API. I am getting the error:Connection Terminatedimport 'package:flutter/material.dart';import 'package:http/http.dart' as http;import 'dart:async';import...

View Article

VueJS pass all props to child component

I am quite new to VueJS. In react you can easily use rest params for passing props to children. Is there a similar pattern in Vue?Consider this parent component that has a few children...

View Article


My spring app is running successfully but I cant open my API in browser?

When I enter localhost:8080/api and try to access different http request I failed.here is an example of my service class:package services;import models.Conducteur;import models.Trip;import...

View Article


How to HOST swagger in server

I'm using spring boot project, database SQL Server 2019 and I using REST API in swagger2,version 3.0.0I'm already run success swagger in localhost with all REST API I haveNow, I'm having some...

View Article

Cookies with HttpOnly are not sent to the rest api (Go). Why? [closed]

Implemented the REST API On Go (localhost:8000) and the frontend on React (localhost:3000)Upon successful authorization of the user, the jwt is returned, which I want to save in cookies with the...

View Article

Is a REST request normally JSON output or something else?

A full REST API like with Java's jax-rs contains definitions for defining a path for a resource, uses the full GET, POST, PUT requests.But, typically when I encounter a REST API, it is typically a...

View Article

Can input arguments be passed to an httpyac file?

I am looking to pass an input argument from the command line to an httpyac file. Specifically, I want to call the httpyac file in such a way that I can pass the id argument and access it within the...

View Article


Internal API invocation: best practices in regarding of security concerns

I have a microservice that exposes public API (in this case, HTTP API). Also, we have a bug a production that occurs only for newly registered users. So, QA engineer asks me to add internal endpoint...

View Article

REST API Call Failing in .NET Core (All version), working in .NET framework

This below code is working in .NET Frameworks (4.5 - 4.8), but it's failing in all versions of .NET Core with a message:"The message received was unexpected or badly formatted".I have tried with all...

View Article


WebApplicationException Equivalent In Spring Rest

I am rewriting some JAX-RS code as spring. However, I am not sure what to do with these exceptions.if(file == null) { throw new WebApplicationException(404);}Does spring have a similar concept? I know...

View Article

How to pass RAML-trait-parameters for enum values?

I do have a RAML with several traits and resourceTypes. I do use the parameters there quite frequently. However, for one case I can't get it working.Let's assume the following trait, named...

View Article


Azure API access

I want to have access to the APIs of this swagger file: https://flightclaims-dev.azurewebsites.net/swagger/index.htmlBut with the following code I ran into 401 error:from azure.identity import...

View Article

Is there a way to restrict users to only see children of a parent element...

I have built a Django REST app for a client that allows users to join communities. The Community model has 20+ models that link back to it in some way (things like events, event dates, meetings,...

View Article

Image may be NSFW.
Clik here to view.

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

ERRORS:Failed to load resource: the server responded with a status of 403 ()login:1 Access to XMLHttpRequest at 'http://localhost:8080/login' from origin 'http://localhost:4200' has been blocked by...

View Article
Browsing all 3607 articles
Browse latest View live


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