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

SoapUI REST service - Saved response is unreadable

I am new to SOAPUI. I am using dump file property to save response json from a REST request. In SOAPUI interface, the json/ and xml is readable. But the response saved in dump file is completely...

View Article


Using HTTP-response code 404 as a response to indicate that a resource was...

I have recently had a discussion with some of my collegues about the 404 HTTP-response code. I have been using the response code as a way to indicate, that something was not found in one way or...

View Article


decoding json changing value and encoding in scala

I have thisrequest .get(uri"$configurationEndpoint") .header("Authorization", s"Bearer $token") .send(backend) .flatMap(configurationResponse => { if...

View Article

Custom Lua Plugin in Kong Failed to Properly Send HTTP Request to Spring Boot...

I've been having this problem in weeks. I made a custom plugin for Kong, written in Lua, that supposed to forward any request that Kong received to a custom auth service. Here is Handler.lua.--...

View Article

How can I call a REST API in Php

Our client provided me with a REST API that requires a PHP call. However, the documentation accompanying the API is quite scanty, leaving me unsure about how to proceed with calling the service.I...

View Article


RESTful webservice Moodle plugin Authentication fails

I am using moodle rest plugins for mobile web-services and from this tutorial I have enabled rest API and other related services as per the documentation when I try to test the web service then I got...

View Article

Java Jersey Client to Server Multipart POST Request Results in HTTP 415...

I'm working with two Java containers where the first container (Client) sends a list of images to a service exposed by the second container (Server) using a multipart POST request. However, the server...

View Article

Double model creation after payment in django website

I am currently working on Learning management course using Django and React .I am creating payment gateway using stripe . After the payment is successfully done , the courses should be called enrolled...

View Article


Rest WebService in PHP with List of Object as input

I have the following class in php that I use to implement Rest Web service in PHP.This is the file webApi.php<?phprequire './bootstrap.php';$uri = parse_url($_SERVER['REQUEST_URI'],...

View Article


Image may be NSFW.
Clik here to view.

Retrieve azure update management status using REST API

I'm having trouble with retrieving azure update management details programmatically. I couldn't find any REST API or CLI method to get the data from update management view. There were only powershell...

View Article

I can't fetch the JWT token from the backend to the frontend

Could someone help me understand the issue? Everything works fine on the backend. The problem lies specifically on the frontend. The user registers on the page at http://localhost:8080/host_page, and...

View Article

Information sharing between two kubernetes services

I have 2 REST API services running on the same kubernetes cluster- service A and service B. Service A needs some information stored by service B in etcd. What is the best way to fetch that...

View Article

Writing Secure api's using asp.net [closed]

Looking for best practices for creating secure api's some of which are restricted to authenticated users while others are openI came across the api protection features but that ties into azure as it...

View Article


Image may be NSFW.
Clik here to view.

REST API to integrate SOAR with BMC Remedy

We've been trying for weeks to integrate IBM SOAR with BMC Remedy to no avail. We keep getting an error 500.This is the playbook in IBM SOAR:The problem is on the second "Call REST API" node, the one...

View Article

Is there a way to take a swagger file and generate like WSDL document

I have a Swagger (OpenAPI) specification file for my REST API, and I need to generate a WSDL document from it. The goal is to provide a WSDL document for clients that expect SOAP services. I understand...

View Article


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 figured out how to POST, but how can I receive...

View Article

can't watch multiple files with json-server

I've read about Fake json-server and I'd like to watch more than 1 file.In the instructions it is listed--watch, -w Watch file(s)but I'm not able to make it working if I launch it asjson-server -w...

View Article


Image byte array not working as part of rest API call

I am trying to get a byte array of an image as part of the rest API call. The rest api retrieves the object from GCP Bucket and sends the byte array back as a response object. The thing is before...

View Article

Can not start API on Azure using Node.js

I am trying to run simple API on AZURE but it could not start.Looks like there are some problems with docker containers but I did not use docker on this project at all.2024-06-11T12:38:06.250Z ERROR -...

View Article

Which is better? 403 status code or 422 status code with payload for failed...

POST /api/teams{"name": "","leagueId": 1}Rules:name is required leagueId is requiredauthenticated user should be the owner of the league where the created team will be associated to.Let's say the...

View Article
Browsing all 3619 articles
Browse latest View live


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