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

TicketMaster Discovery API returning few/no events when specifying "city"...

I'm trying to use TicketMaster's "Discovery API" for a hobby-project of mine, to get a list of events in my city.The strange thing is that I receive very few hits, compared to searching for the same...

View Article


Getting branches of a repository sorted by last commit date using Github REST...

I want to get all of the commits across all of the branches of a github repository that happened on a certain date. I can easily get the commits of a branch on a date using the "since" and "until"...

View Article


PUT DocumentReference request to Epic FHIR Sandbox gets 404

I'm an engineer working to integrate some of my employer's products with Epic's FHIR APIs, on behalf of our clients who use Epic as their EHR.At the moment, I'm querying Epic's sandbox to prototype a...

View Article

RTU_Initialize on owa5x

I am programming a REST interface in C++ and need the current GPS position of the owa5x device.However, I always get the following error: Error 23 in RTUControl_Initialise().Has anyone ever had this...

View Article

Convert cURL to Postman REST Call

How can I convert the following cURL command to a Postman rest call?curl -X POST abc.com/input.import -H 'content-type: application/x-www-form-urlencoded' --data-urlencode "apiKey=123-456"...

View Article


Image may be NSFW.
Clik here to view.

Wema API test fail

I'm working with Wema onboarding open API and I have been trying to test and API before I use it in my project but I keep getting theerror:Internal Server Error => Value cannot be null. (Parameter...

View Article

How to Handle Missing Product ID in Amazon Seller REST API?

I'm working with the Amazon Seller Central REST API, but I'mencountering an issue where I don't have a Product ID (such UPC, or FNSKU ,ETC) to identify the product.Considering the GTIN exemption,...

View Article

Returning data from async call in Swift function

I have created a utility class in my Swift project that handles all the REST requests and responses. I have built a simple REST API so I can test my code. I have created a class method that needs to...

View Article


How to post JSON to PHP with curl

I may be way off base, but I've been trying to run the curl post command in this recess PHP framework tutorial all afternoon. What I don't understand is how PHP is supposed to interpret my POST, it...

View Article


What is the VIEW in a backend REST-API?

I want to create a simple REST-API (or maybe later in combination with GraphQL).PS: I'm using C#.NET Core / .NET-5.0 and PostGreSQL. Working with Rider with an "empty...

View Article

Difference between APIController and MVCController? [closed]

I'm studiyng API Rest and when I create a controller I have a lot of options.But I want to understand technically the difference between 'APIController with read/write options' and 'MVCController with...

View Article

How to share typescript types between nestjs backend and react frontend?

Let's say I have a /createPost POST endpoint in my nestjs backend. The request and response object should be fully typed in the backend via the DTO. However, how do I bring these types into the...

View Article

Image may be NSFW.
Clik here to view.

Web API Restful : Get resource by foreign key [closed]

My question is about the "correct way" to name the route in a .NET core web API of the following case:a bank account is always related to a Enterprise.a Enterprise can have multiple bank accountsa...

View Article


Is Accept header needed for a POST method which doesn't return any content to...

I have an endpoint which supports POST method with content-type as JSON (only). But the POST request doesn't return any content in its response body other than status codes. In this scenario, what is...

View Article

API REST Rules - Should I send the whole entity or just the properties to update

I am developing a web application with a database.In database : I have an entity called Harry with its properties : Id,Power, x, yFor the front-end : I am using Angular.From Angular, I send to my...

View Article


How to send multi-part file with request body

I want to construct an API of user signup in which I need user basic information and their profile picture. I don't know how I can achieve this. I have made a controller and requested for a body, but...

View Article

API authentication and authorization

What is the result if I did use No Auth type and in the same time I can pass the token inside the body and I will request that token and make my own filter?

View Article


How to efficiently query REST APIs?

I would like to build an analytics solution. The main data source would be a publicly available REST API.I have written a bunch of Python scripts using requests that query multiple endpoints of the...

View Article

Microsoft.AspNetCore.Mvc.NewtonsoftJson 6.0.2 is not compatible with net5.0

I am using Visual Studio 2019 on a Mac, trying to start a REST API project.Immediately got stuck when trying to install NewtonsoftJson 6.0.2I was just following a tutorial, and version of...

View Article

Using GZIP compression with Spring Boot/MVC/JavaConfig with RESTful

We use Spring Boot/MVC with annotation-based java-config for series of RESTful services and we want to selectively enable HTTP GZIP stream compression on some API responses.I know I can do this...

View Article
Browsing all 3607 articles
Browse latest View live


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