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

How to call OData service using a destination?

New to JavaScript and SAPUI5; struggling to find syntax explanation.Need to call an OData service in on-premise systems. The SAP project template already put seemingly correct dataSources section in...

View Article


REST API: How to send dynamic query string from Android/iOS client to the...

We have API that gives us the valuation of the car:We have built in form in our android app that has input fields as :- car version, car make year.So, we have built input form as:Drop down that lets...

View Article


Image may be NSFW.
Clik here to view.

What is the actual implementation of Model in Spring MVC

A lot of people have answered that Model is an interface while ModelView is a class implementing Map interface.My confusion is what actually implements interface Model then? (I am a beginner of Spring...

View Article

Is there a way to filter/limit the fields returned from a kubernetes REST API?

In order to display a dashboard which has the count of the number if certain kinds of resources in kubernetes we need to query the REST API.For example: If we need to count the number of secrets across...

View Article

Go Gin-Gonic, get text from POST request

I'm starting to develop a REST API using Go and package Gin-Gonic. The idea is to create a REST API that receives POST requests in a JSON format and redirects this call to another application (also a...

View Article


How to protect public APIs (no credentials) from being exploited?

It's more of a general question, but What is the recommended way to protect APIs used in SIGN UP processes? Let's say there is these public APIs (No user credential required, only API...

View Article

Is there a LIKE operator in odata filter?

I'm trying to filter my data through OData where the field FileRef contains lets say "/The root path/folder/subfolder", I tried with substringof like so:$filter=substringof("sites/my folder/subfolder",...

View Article

Export imported word file using REST make the file corrupted

Update: Updated the problem to reflect recent learnings and make it more clear.I have a scenario where I need to import a file from OpenText (OT) to ServiceNow and then export it back to OpenText (kind...

View Article


Image may be NSFW.
Clik here to view.

soti mobicontrol authenticate the requests to get managed devices [closed]

I have administrative credentials for SOTI MobiControl, along with API client details (client ID and client secret) and the base URI. I want to retrieve the list of managed devices from the MobiControl...

View Article


OutOfMemoryException when reading a string

I have a C# .NET system that takes a JSON data feed and converts it to an object using the Newtonsoft.Json.JsonConvert.DeserializeObject converter.This process works perfect as long as the JSON string...

View Article

Matching anything in Spring RequestMapping

On Spring MVC rest service I am having issues trying to match anything that is beyond my configured RequestMapping value.So for e.g. I have this:@RequestMapping(value = "{configKey}/{arguments:.*}",...

View Article

Sequelize REST API generator

I am developing a Nodejs application and my database is Postgres and I am using Sequelize as my ORM because of its excellent support for migrations. I am on the lookout for a good REST API generator...

View Article

price of hotel per day or per night in Trip Adviser API [closed]

I want to get the price of hotel in the Tripadviser.com I have hotel id and and other things but its not giving hotel prices so anyone help how can I get thisI simply tried by using this...

View Article


How to send Json String using REST to java webservice in Parameter in android?

Fiends, i sending JSON String with three parameters to java web service method. but on java side method cant print in console. Please guide me what i have to change from below code?String json = "";...

View Article

Image may be NSFW.
Clik here to view.

Getting ECONNREFUSED 127.0.0.1:80 error when sending a GET request from...

I’m trying to send a GET request to the GLPI API. When testing the request in Postman (URL: http://127.0.0.1/apirest.php/), everything works fine, and I get a 200 OK response. Other requests sent...

View Article


Unable to hit post request on Rest based controller in .net using .net 4.8...

Connection Controllerusing System.Web.Http;using eQCsomWebsite.Models;using eQCsomWebsite.Services;using eQCsomWebsite.Services.implementer;using System.Web.Services;namespace...

View Article

REST API (Lambda integration) deployment using Terraform - POST is giving...

I am trying to create a REST API with 2 methods GET and POST. Here is the work I have done:Using Terraform to deploy AWS services.Created 2 REST API methods - GET and POST.Integrated API Gateway to AWS...

View Article


How does oatpp handle TCP calls?

Are there different options for it?

View Article

Return result of create method and 201 status code

How can i return the result of create method in rest api and also 201 status code? In this code the status code is 200 how can i change it to 201? Path("/student") public class MyRestApi{...

View Article

Last modified date using REST API

I want to retrieve the last modified date of list items from custom lists in a site in SharePoint and place it in a table using REST API

View Article
Browsing all 3607 articles
Browse latest View live