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

Posting to XML Data to REST Endpoint from .NET Core

I have an external user who is trying to POST data to my endpoint via SOAP (XML format). However, my code is a .NET 6 REST APi. I transformed the XML payload to a class and managed to generate the...

View Article


How to send an AWS SES email in Lambda with aws-sdk v3 using the latest...

How can I validate a Google Recaptcha in AWS Lambda using NodeJS 20 and then send an email if successful with AWS SES? It is assumed the front-end facing form sends the Recaptcha response via the...

View Article


Image may be NSFW.
Clik here to view.

Laravel API Response Object formatting

I have created a basic Laravel REST API that will service some JavaScript applications that are using axios to make requests.My application is using a Base Controller to ensure all responses are sent...

View Article

How to upload and retrieve file to network folder

I have an ASP.Net rest Project, How can I upload files to a shared Network folder (Eg: \FileServer\Files). I should be able to access the file from the folder by calling GetFile api and passing...

View Article

How to get the version of Vmware VSpere with the Rest API?

I'm using the REST Api to control vSphere vCenter Server 6.5 and 6.7.In order to distinguish the two, I found /rest/appliance/system/version that is working on 6.5 (in fact GET returns correctly...

View Article


Login mobile apps rest api [closed]

i have been try to implement REST API into my dart but this error appear I/flutter (27517): Failed with status code: 400 but when i try at postman it work wellFuture<void> login() async { var url...

View Article

How do I return a value from an async function in c# [duplicate]

I'm getting REST data from a website using c# and I'd like to return a value from a function call. But I need to use httpClient.SendAsync, so the function has to be public async. But I'm getting an...

View Article

Spring Boot: Return a empty JSON instead of empty body when returned object...

I have a RestController and when I call the method:@RequestMapping(value = "/sigla/{sigla}")@ResponseBodypublic PaisDTO obterPorSigla(@PathVariable String sigla) { return...

View Article


Import "rest_framework" could not be resolved. But I have installed...

Here's my settings.py:INSTALLED_APPS =...

View Article


Certificate based authentification on Defender for Endpoint REST API

I want to connect to the Microsoft Defender for Endpoint REST API certificate based.I do not find any documentation on that, but it seems, that it is possible. See jwt section.I'll do it in PowerShell,...

View Article

Creating REST API with custom "x-myvalue" in header

Super simple ApiController:[ApiController][Route("[controller]")]public class MyController : ControllerBase{ [HttpPost] public IActionResult DoStuff([FromHeader] string X-SomeValue) { return Ok();...

View Article

iPhone simulator can not send request to one specific endpoint

I am developing a Flutter app which sends http requests to my express.js rest api which runs on my server. It was working fine until yesterday when out of the blue it stopped working. All the request...

View Article

Swiper Laravel 9 VueJs 3

I'm trying to do a swiper using laravel api vue js composition api, the swiper doesn't work, it was working at first with the template(statically using the swiper code in main.js), but when I added...

View Article


Fabric Capacity metrics data REST API or alternate ways to pull it

I have quite a few activities going on on Power BI.I have admin access and want to be able to pull in information like CPU usage, usage spike with respect to time etc.I came across an inbuilt app that...

View Article

Image may be NSFW.
Clik here to view.

Snaplogic Rest Post Snap: Failing with Invalid input JSON

I have a Json Generator snap that contains the following snippet:{"filterGroups": [{"filters": [{"propertyName": "lastmodifieddate","operator": "GT","value":"2024-04-18T18:21:27.255Z"}]}] }Then I have...

View Article


Problem to get a product data with sp-amazon for PHp

I am building a small webapp with PHP and jlevers/selling-partner-api (https://github.com/jlevers/selling-partner-api).I need to recover the ASIN starting from EAN code.I have tried this:$catalogApi =...

View Article

CRUD WEB API with entity framework

I started develop my project - web application with Database. I used WEB API with entity frameworkI need CRUD operations realize in my project. Read - work fineBut I don't know how realize Create,...

View Article


C#, RestSharp, Type or Namespace name "HttpBasicAuthenticator" could not be...

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Http; using System.Net.Http.Headers; using RestSharp; namespace...

View Article

Amazon Product Advertising API does not return rating and reviews

I am exploring the Amazon Product advertisement API(PA 5). I am using the GetItems method. The API does not return ratings and reviews count. I have used amazon's scratchpad platform as well as PHP...

View Article

Can anyone guide me on how to create a daily API token fetch call in Marketo...

Can anyone guide me how can I create a separate call within Marketo to fetch on a daily basis the API token, based on a separate API callI want to use a webhook POST request that requires an API key...

View Article
Browsing all 3607 articles
Browse latest View live


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