Quantcast
Channel: Active questions tagged rest - Stack Overflow
↧

How to get plain text version of a node from Alfresco using its API?

I'm trying to get the plain text version of an Alfresco node through its API. I understand that this version is created or the plain text at least is extracted because I can search documents by its...

View Article


Laravel API resourceCollection using array rather than model

I have an API that uses API resource and resource collections to correctly format the JSON responses. In order to decouple my controller from my model I use an adapter to query the underlying model....

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

Image may be NSFW.
Clik here to view.

Postman (NodeJS): Not saving cookies returned from API

Issue:Cookies were earlier getting saved until I reinstalled Postman.I have literally tried everything (Stack Overflow + Google), I would really appreciate the help.URL :...

View Article

Get user's last message Django-postman and Rest API

I've been install Django-Postman user to user messaging package. I'm trying to get user's last message with Rest API.You can check django-postman package on here:...

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

Image may be NSFW.
Clik here to view.

How to use GitHub API from Postman

I want to create a file on my GitHub account using GitHub API through Postman.GitHub API to create a file on GitHub account:PUT /repos/:owner/:repo/contents/:path can anyone tell me how to use this API...

View Article

Image may be NSFW.
Clik here to view.

Call MS Fabric REST API from Synapse notebook

I am trying to call MS Fabric Semantic model refresh API from Synapse notebook.https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset-in-group#example-of-refreshing-a-datasetWhen...

View Article


Checking for powershell [closed]

Below PowerShell to generate active pr details. making the code to vread the file and update asper the required.addeding fil # === Configuration === $organization = "your_organization" # e.g., "myorg"...

View Article


Image may be NSFW.
Clik here to view.

How to design a REST API

I am building a metadata platform for a broadcaster. It exposes a REST API to write data to the DB.I struggle with the design of the endpoint boundaries. There is a wide range of options to split the...

View Article

Jersey REST get returns java.lang.NoSuchMethodError

I'm trying to get a response from a working REST webservice.I have come up with the following looking at the documentation:void postRest(){ Client client = ClientBuilder.newClient(); WebTarget...

View Article

Anybody tried time doctor 2 APIs? or go through it's official docs?

I've try to register/login into time doctor 2 using register/login api and it success, after login i successfully get the auth token.But futher when i try to access any GET route it with provided token...

View Article

BItUnix API Signature Error (10007) when Placing order

BitUnix Futures API – Signature Error (code 10007)I'm attempting to place a Futures order using BitUnix's REST API. Despite following the official documentation exactly, I consistently receive the...

View Article


Image may be NSFW.
Clik here to view.

How can I enable REST API on my WordPress web site?

I tried with this line, is it the right way?I got this error:Fatal error: Uncaught Error: Undefined class constant 'DOWNLOAD_JOBS' in...

View Article

NetSuite REST API SuiteTalk Create Sales Order

I am having great difficulty in creating a Sales Order using NetSuite’s REST API:my @items;my $it={'item'=>{'id'=>'55554', },'quantity'=>1,'amount'=>100.0,'taxAmount'=>20.0,};push...

View Article


Getting the "Module parse failed: 'import' and 'export' may appear only with...

I am facing theERROR in ./index.js 1:0Module parse failed: 'import' and 'export' may appear only with 'sourceType: module' (1:0)File was processed with these loaders:*...

View Article

Express Req.Query initialization remains empty

I have this alias middleware which supposed to manually initialized the queries.exports.aliasTopTours = (req, res, next) => { req.query.limit = '5'; req.query.sort = '-ratingsAverage,price';...

View Article


How to design a REST API to request only specific fields from a resource...

I have a RESTful API within a web-service with resources such as users, posts and so on. When I make a request for a list of posts (GET /posts), I want to retrieve an array of posts only with limited...

View Article

How to Create a JSON Restful Web Service in C#/ASP with MySQL as Db?

I followed This to Create a RESTful Web Service which Displays Json as outputSo that I can use this JSON in the part of Mobile application,But Here Actually I have a Lot of data to display I am...

View Article

Rest API from PHP

I have a PayPal button which upon checkout completion redirects the user back to the homepage but in the background opens another php page which does a couple of things including updating some...

View Article

rest api code for connect wordpress database with application

I'm new in wordpress and I try to get data by rest API for my mobile app. But I have a problem for getting products by category. I used WooCommerce-REST-API-Client-Library and wc-api-php but I couldn't...

View Article


Rest APIs : Howto release new API version without taking existing down

I have created a system which is live and I feel it should have minimal downtime.But when I release the API I have to take the system down for few minutes.Is there any architecture or way of...

View Article


API vs REST API

The acronym "API" is used in many contexts. I see it mostly in the context "REST API" these days. I was confused to see it in contexts like "Node API" or "Java API" or "Django API" or "Python API".The...

View Article

Secure PHP REST API

I am making a Social Networking website and I want to provide APIs for developers to use. So, I am thinking of using REST API for this. Now this question is not about how to create a REST API. That is...

View Article

Authenticate to Google Language API using API Key for REST based web app

I am receiving an error 401 when trying to authenticate to Google API using an API Key.The following is the javascript code used to make the call:function test(){ const outputElement =...

View Article


Debug output for 'requests' in ansible module

I have a module for Ansible to work with API. It uses requests extensively. The problem is that I can't debug requests. Ansible module have no usable stdout/err, it's executed by ansible through...

View Article

Calling a Rest API with Bearer token

I'm trying to consume a REST api with bearer token authentication. I'm getting this error:Media type is unsupportedCode:using System;using RestSharp;using System.Configuration;using...

View Article

With Typescript, how do I make API requests and parse responses?

I've written an API that accesses a database in Python (code here). Now, when I'm running this FastAPI code, I want to call the endpoints with Typescript. The code I'm writing simulates a record of...

View Article

Image may be NSFW.
Clik here to view.

Response.success undefined in angular

I have an AngularJS web application with a RESTful Jersey Api as Backend.I'm developing and testing this api in order to create user:function Create(user) { return...

View Article



Image may be NSFW.
Clik here to view.

API form-data how to send array data for eMag Marketplace

In api doc for eMag marketplace on page 16 are properties stock and handling_time but i dont know how send this via Postman .I tried to create the form-data in the picture but it's not working as I...

View Article


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