Quantcast
Browsing all 3630 articles
Browse latest View live

Firebase REST API Method: projects.databases.documents.runAggregationQuery...

No matter what I try, I always get errors when trying to make an API Call using runAggregationQuery to sum up the field number of the a_test collection. When using the Cloud Firestore API Explorer, I...

View Article


Sharepoint : List all sites created by a user

I am looking to extract list of all the sites created by a single user within our organization. After reviewing available resources, I have noted that there isn't a direct Microsoft Graph API endpoint...

View Article


Live Connect Rest API: Signing user in?

I am working on a poc using the Live Connect Rest API.(Documentation here: http://msdn.microsoft.com/en-us/windowslive/default)Using the example from the link below I am able to login a user and...

View Article

I Would like One Http call Completed before the next in angular

here is my Http requestsin getAllUserData() i would like this.getAnXSRfToken() to finish exe before proceeding with the http request; getAllUserData() { //get XSRF token this.getAnXSRfToken(); return...

View Article

Vanilla AJAX. Undefined responseText [duplicate]

I am trying to build functions that retrieve data from an API.Every example I see on stackoverflow and other places, uses jQuery in it's example, or writes to the console. This is a basic...

View Article


How to connect flutter app to the Wordpress?

I want to connect my app to Wordpress site I want to push and get and change data from my siteHow to connect my app to the Wordpress siteI know that, use rest API but I don't know where should I change...

View Article

How to redirect post requests to another class in Tomcat

I am trying to integrate my java application (deployed on tomcat 9) to whatsapp, using the api provided by facebook without any partner (such as twilio). After reading the documentation provided by...

View Article

How to upload multiple files as part of a REST API

I am trying to create a REST API for my web service.I want to make the users of the API able to initiate a new request with my service. This involves uploading one or two zip files along with some...

View Article


Is there a nlp project like Vanna.ai that can convert NLP to API requests?...

I found a NLP project for automated conversion of query text to SQL queries to vanna.ai and I wanted to know if there was a similar project with respect to API conversion from text using swagger docs...

View Article


Is forwarding DTOs serialized as JSON between two services bad practice

I hope this is not too off topic, but this is a real dilemma and question I have.I need to pass a rather nested object from one backend service (Service1) to another service (Service2), where Service2...

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

CORS error but only on POST request, despite cors config (GET have no issue)

I use a nodejs express server.Despite allowing the host, I still have an CORS error" No 'Access-Control-Allow-Origin' header is present on the requested resource."but only for the POST endpoint. The...

View Article

Image may be NSFW.
Clik here to view.

Error: http.Server.listen() was called more than once which is not allowed....

I am trying to deploy my app or API on shared hosting, but I keep on encountering an error that says Error: http.Server.listen() was called more than once which is not allowed.I have no idea why this...

View Article


Get Data from API only when there is some new record added to server

I am working on a project which is Api based, I have to get items everytime when i open point of sale punching screenApi's was built by PHP team and i am comsuming it in C# (.Net) Appproblem :I dont...

View Article

Is it possible to accept file without any key in multipart-formdata?

In multipart formdata we accept the parts as with key-value pairs, is it possible to handle request with file without any key?In case of unkown key, I understand that I can parse HttpServeletRequest to...

View Article


DLL load failed while importing _rust: The specified procedure could not be...

I am trying to hit an API that is of POST type, it generates access and refresh tokens which can be used to access other APIs. It takes the username and password in the body, which we generate while...

View Article

Power BI :: automate Bearer token retrieval

I posted a question and an angel helped me connect Power BI to Microsoft 365 admin centerBut I now have a new question: the Bearer token will expire every now and then.Is it possible for Power BI...

View Article


Is it possible to implement a generalised REST Api call method with Yii2's...

I am trying to implement a unified method for calling a REST API in Yii2, using the Client class.The method receives $method, $action, $headers = [], , $data = [], $postFields = [] as parameters. The...

View Article

Exposing API Endpoints in Frontend Application

I am building a frontend application using react and I am wondering whether it is risky to expose API endpoint URLs (ex: https://myapi.com/v1/getitems) on GitHub, assuming that the endpoint has several...

View Article

How to return multiple field validation violations...

The context:I have a REST API in my Spring Boot backend app. This REST API has HTTP POST endpoint with a request body. This request body as a java DTO class contains several fields (attributes). I...

View Article
Browsing all 3630 articles
Browse latest View live


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