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

How to call Netsuite RESTlet from salesforce or any other application?

I have created RESTlet script to perform CRUD operations. I am calling that RESTlet from Postman. I have no idea of how to call the RESTlet from salesforce or other application for integration purpose?...

View Article


System.Net.Http: missing from namespace?

Gere is my class so far:using System;using System.Collections.Generic;using System.Net.Http;using System.Web;using System.Net;using System.IO;public class MyClass { private const string URL =...

View Article


Curl command for Rest POST API with Map

If we need to call REST API with Map<String, Object> as a request Parameter in curl command, how to pass a Map<String, Object>, i tried like:@PostMapping("/abc/aa/{type}") private final...

View Article

Is it usual in web development to route third party requests via our backend?...

there is a concept I think I am not understanding in web development. So I am using NextJS to code a web application which uses third party APIs like GoAPI.Simplified my problem is:When I click on a...

View Article

REST API in Azure Data Factory to get access token for Power BI

I need to extract/export a excel file from a visual (table) in a Power BI report. I have found an option of export but if it is from a visual in a report just in PDF and ppx, not excel or csv. I found...

View Article


Keycloak secured service returns HTTP status 302 when tried to be accessed...

I have a very simple REST service secured with Keycloak. I get a keycloak token and try to access this REST service but get an HTTP 302 status. Any ideas how to solve this problem?

View Article

How to convert Json object to BLOB in java

I need to store HTTP REST API (POST, GET, PATCH, etc.) requests and responses into a database entry (Column as BLOB), so that we can audit the requests and responses later.As part of the incoming HTTP...

View Article

Why my express server's api endpoints calls are pending?

I am running an express server that has some REST API endpoints including authentication endpoint: http://localhost:3000/login using jwt (json web token), the server run but when I used postman and...

View Article


How to make a large file accessible to external APIs?

I'm new to webdev, and I have this use case where a user sends a large file (e.g., a video file) to the API, and then this file needs to be accessible to other APIs (which could possibly be on...

View Article


Api optimization | MongoDB | indexing [closed]

MongoDB: Should i do all crud operation using username or objectId or use username to find objectId and then use this id to do crud operation?1> Using ObjectId is not convenient from end user...

View Article

How to add invoice or sales receipt Quickbooks rest API v3.0

How can I add an invoice or sales receipt using the QuickBooks API Rest v3? Preferably in .NET. I was interested previously in v2 but apparently that is going to be replaced soon. I can't seem to find...

View Article

Produce JSON by RESTful web service in Spring Boot?

My problem: I don't return JSON but an array.So, I will want JSON to be returned.My repository interface:public interface SuiRepository extends JpaRepository<Folder, Integer> {@Query("...")...

View Article

How to secure public API endpoints [closed]

I have an e-commerce site where I have some public API endpoints. I want to secure those endpoints. For example, I have an endpoint like /products which is public API endpoint. But I want to make my...

View Article


OkHttp Response doesn't have provided body object on the client side

I am writing REST APIs using okhttp library in Spring Boot. I have my OkHttpClient requesting a GET request(client) from another API(server). Both the client and server uses OkHtttp libraries, so I had...

View Article

Implementation of account transferring [closed]

I am trying to implement account transfering from device( user logged in ) to another( user does not log in ). Cound you recommend me any implementation. I am using Java, Rest Api + jwt token. Devices...

View Article


Getting StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content:...

I try to call an external api, when I am using the Postman, it is working and returning value as follows:Post to URL: https://test.com/api/v1/users/checkData Raw Jason to post: {...

View Article

Image may be NSFW.
Clik here to view.

Next.js error TypeError: Cannot read properties of undefined (reading 'headers')

I am working with Next.js 13.4.19 and I want to try OpenAI API. I have my API routes in good structure. When I hit the API route http://localhost:3000/api/course/createChapters for POST...

View Article


Analyze REST API performance

Are there any tools to analyze the REST API performance specifically the response time, to figure out why API is slow ? These APIs are built using spring boot

View Article

Get currently authorised user in RESTful .NET 4.5 API

I am using the individual user accounts part of .NET 4.5 to authenticate and authorise users to a RESTful API (http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api)However, I...

View Article

How to configure Spring Data REST to return the newly created entity as part...

I'm using Spring Data REST to expose my JPA repositories as Web Services.I'm testing each of these Web Services using RestTemplate. I want those tests to be integration tests... meaning that I'm...

View Article
Browsing all 3619 articles
Browse latest View live


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