Quantcast

Is a Web API application built on RESTful principles using server session to...

It's confusing to me to interpret the term "stateless" in REST API. For example, when reading this article it has the following text:The last principle I want to address is stateless communication....

View Article


.NET 6 SslStream.AuthenticateAsServer is slow with RSA 4096 key size

I have a HTTPs Server .NET 6 application which uses TCPclient network and SslStream.AuthenticateAsServer. What I have notice using wireshark is that it takes about 4 seconds delay for my server to send...

View Article


Error (56): Failure when receiving data from the peer for rest API post...

The Response should be XML, but I'm getting error like:(56): Failure when receiving data from the peerwhile sending the request to REST API using headers. Here is the sample request according to the...

View Article

multiple authentication methods with same REST resources

Let's suppose you are building REST APIs which will be accessed from different kinds of consumers (human users, things, untrusted native apps) so each of them has its own authentication method, for...

View Article

SEC.gov | Request Rate Threshold Exceeded - Your Request Originates from an...

[W11, Python3]Attempting to retrieve SEC filings from sec.gov using their API, and getting this error no matter what I do.Following the example provided here, including...

View Article


Springboot Database JDBC URL [Connecting through datasource 'HikariDataSource...

I am learning Springboot and wanted to make an application that lets me use postgres to make simple APIs. I have been trying to establish the connection to the JDBC to be able to create a table,...

View Article

Why its recommended to use GET method for retrieve data in Rest API? [closed]

Why its recommended to use the GET method to retrieve data in Rest API?As everyone knows POST method is comparatively more secure and feasible to get data.Most of the designed systems use GET to...

View Article

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


Is Olingo4 backward compatible?

If I use Olingo4 libraries at client side in Java, would they be compatible with ODATA 2.x services?

View Article


Can I move OpenFire REST PORT away from Admin port?

I'm accessing my Openfire server from a separate device.But, after a couple of hours of battling, I realised I had to open the Admin port for external access, since the REST API shares it.I realise...

View Article

Copy SharePoint item from one list to another in separate site collection

I am looking for the best way possible to copy new list items in one site collection to another site collection. The list items belong to a calendar list and will need to be copied to another list in...

View Article

How do you implement rate limits when using an API module in python?

I have a code that is returning a list of directions for a csv with the latitude and longitude of several vehicles and their stops from OpenRouteService (ORS), an open source API. The data is in the...

View Article

Getting {"error":"invalid_grant","error_description":"authentication...

I am trying to get the Session ID for my salesforce partialbox.My Code:curl https://test.salesforce.com/services/oauth2/token -d "grant_type=password" -d "client_id=definitely the correct client id" -d...

View Article


RESTFul API Respond Code 200 or other while query data from server database?

The proplem from my job.I'm Android Developer,My co-work is RESTFul API developer(Call him ResA).My App is Map App,user click map,app search nearly device ids from map.then search device information...

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


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