Quantcast
Browsing all 3619 articles
Browse latest View live

API Endpoint - Calling path/file.php works but doesn't by endpoint

I made a simple API with PHPWhen I call it (Postman or script) with https://www.example.org/api/index_api.php it works. I get the return value.When I call it (Postman or script) with...

View Article


Unable to get response from APIGateway through react app

Calling the api from postman gives the expected output without any errors. But while trying to make request from react app cors related error in showing up.PS:- this is error i am getting. "Access to...

View Article


NPM build API Vault LIST fail

I am on an NPM application using Svelte and I am looking to develop a server-side API to list the available paths of my Vault HashiCorp instance. By making simple calls with fetch on the Vault REST...

View Article

How to send authentication header in ASP.Net for set of web request

I am developing ASP.net application which consumes REST services with ASP.Net Web API. I am trying to use Basic authentication for my website. I plan to use it with SSL once I complete Basic...

View Article

Polar Accesslink API 403

I successfully managed to implement the oauth flow for the polar accesslink api and have gotten an access token back however when I try and use the api I keep getting a 403 and I'm not sure what I'm...

View Article


How to forward FastAPI requests to another server?

I have a FastAPI application for testing/development purposes. What I want is that any request that arrives to my app to automatically be sent, as is, to another app on another server, with exactly the...

View Article

How to post JSON data to FastAPI and retrieve the JSON data inside the endpoint?

I would like to pass a JSON object to a FastAPI backend. Here is what I am doing in the frontend app:data = {'labels': labels, 'sequences': sequences}response = requests.post(api_url, data = data)Here...

View Article

What method of a REST API is the correct one for procssing data without...

I have a backend service, which accepts a text with placeholders, replaces those placeholders with values and sends the text back.What would be the proper method of an REST API to use for...

View Article


delphi google calendar Api event insert

I am trying to insert an event into my google calendar using the delphi REST controls. This is the code so far:procedure TForm1.TestGoogleRestParams;var i: Integer;...

View Article


Service Oriented Architecture suggestions

For personal and university research reasons I am thinking of building a simple CRM using a service oriented architecture. Its meaning is just to explain the architecture itself, not commercial use.I...

View Article

How to create Managed Metadata column using REST API?

I want to create a list managed metadata column, using the request to the endpoint _api/web/Lists(guid'####-####-#####')/fields, but with no luck, got such an error "One or more field types are not...

View Article

When to use HTTP status code 425 "Too Early"

The 425"Too Early" status code's description:Indicates that the server is unwilling to risk processing a request that might be replayedHow is it used in a real world scenario? Examples would be...

View Article

Overlapping method route | Rust axum (utoipa)

Here is the problem. I'm using utoipa to generate documentation. And I want to split routes by groups. For example, in axum we can do something like this and it will works...

View Article


Image may be NSFW.
Clik here to view.

Java Spring: Unsupported Media Type with x-www-form-urlencoded body

I'm working on a REST API using Spring and I'm trying to implement a POST endpoint that receives x-www-form-urlencoded data in it's body. This is my controller method so far:@PostMapping(value =...

View Article

Should you use another endpoint for assertion in an integration test for a...

I have a REST API and I want to write an integration test for a POST endpoint, which creates a Foo item in the database. In the test scenario I am making a request to this POST endpoint.In the...

View Article


How to Bypass HTTPS in Apache NiFi When Connecting to External APIs?

I'm currently working with Apache NiFi and need to connect to an external API that uses HTTPS. However, for testing purposes, I need to bypass HTTPS verification to simplify the integration process. Is...

View Article

Image may be NSFW.
Clik here to view.

How to fetch accurate global lock status for an account using Meta Wikimedia API

I'm creating a tool that uses the Meta Wikimedia API to check the status of various accounts (active vs dormant, editors to various spaces etc)I've noticed that some accounts are locked globally, e.g.:...

View Article


Getting firestore subdocuments [duplicate]

I have a firestore database with documents inside a users documents. for example/users/{uid}/purchases/users/{uid}/devicesI would like to fetch all the names of these documents using the firestore rest...

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

Cannot find symbol with Lombok

Basically I'm trying to create an API using Spring Boot, however I'm with some problems with lombok annotations I guess.This is my domain (I can use @Data, but it shows the same...

View Article
Browsing all 3619 articles
Browse latest View live


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