Provisional Headers are shown - solved but I don't know why exactly?
I am using useQuery to handle my API requests and ran to this error when I was trying to handle two GET requests in one functional component, I tried other people’s solutions and the error was still...
View ArticleSaving a file retrieved through the REST API
I am trying to save a file in NetSuite that is being retrieved from an external source. I am making a GET request from the external source to retrieve the file, but I am not sure what I need to do to...
View ArticleREST API Error on Wordpress site - Ubuntu
I think I'm going crazy.I've tried all the problems I've seen on the internet but I can't solve them.I installed wordpress but I can't make any changes to any page. It's like wordpress can't access the...
View ArticleREST API Pagination for Link Header in ADF and in Postmann
I want to get data from all Pages of REST API using the Link header.My REST API Link Header is in the following format:Link: https://URL/v1/requests?per_page=25;...
View ArticleREST API Design for Deleting One Resource and Updating Another
I am building a fullstack application with Next.js where users can invite other users to their household.Resources:HouseholdsInvitationsUsersAction:Accept an invitation. This will entail two dependent...
View ArticleBasic HTTP and Bearer Token Authentication
I am currently developing a REST-API which is HTTP-Basic protected for the development environment. As the real authentication is done via a token, I'm still trying to figure out, how to send two...
View ArticleJersey 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 ArticleJAVA: Cannot read body from a 401
I'm using java's HttpUrlConnection (using POST) to make a very simple rest client. The server accepts and replies aplication/xml. Even for error situations (status code 3xx, 4xx, 5xx) it sends xml...
View ArticleWarehouse bug when calling Snowflake REST API
I am sending a simple REST API call to Snowflake and can't get a simple query to run.The error indicates a warehouse name needs to be provided, though it's in the request body and I am using Postman...
View ArticleSpring OpenFeign Ogg File sending problem
I'm trying to send audio OGG file bytes via feign client in java to the API endpoint, but I've got an 400 bad request→"error_message" : “OGG header has not been found”. But if file was sending from...
View ArticleLinkedin API - get company ID from url
Is there a way to get the numeric company ID from the URL of a company page on Linkedin? This ID is the one I'll use to query the Linkedin API and get more information on the company.I need to get the...
View ArticleHow to send a POST request to an EC2 instance?
I have created a simple API in node and deployed it on an ubuntu based EC2 instance. I also installed node js on my EC2. I've been trying to send a POST request from POSTMAN, with a JSON file. My API...
View ArticleFedex Rest Create Shipment API Invalid field value in the input error coming
I am trying to integrate FedEx Create Shipment API in my E-Commerce Project. I am using laravel as the backend framework. Below is my code:-$product = Product::find($orderDetail->product_id); if...
View ArticleAccessing authenticated REST API from Vb.net 4.0
I am trying to login into REST API from vb.net.Dim pageSource As String Dim formUrl As String = "http://10.23.202.18:8080/usermgmt-0.1.0.BUILD-SNAPSHOT/resources/j_spring_security_check"' NOTE: This is...
View ArticleHow can I create a project in Quarkus and work with Java 8?
I am in the process of starting a project using Quarkus, but I am running into a difficulty: I need the project to support Java 8. However, according to the official Quarkus documentation, it seems...
View ArticleUnable to "Reshare a post" without commentary in LinkedIn API
I have integrated LinkedIn Reshare API in my app, in accordance with the following official...
View ArticleRetrieving data from JSON API with "X-Auth-Token" header
Im working on project using the football-data.org api and have received an API key for it that instructed me to modify my client to use a HTTP header named "X-Auth-Token" with the underneath personal...
View ArticleREST API URI for resource with multiple primary keys
I am developing a generic REST API for my projects and I'm wondering what to do when I have a table/resource with 2 or more primary keys.For example, lets suppose I have a table named "question" with...
View ArticleAdding an SSL Certificate to JRE in order to access HTTPS sites
Context:So I'm trying to access an HTTPS site from my Java code but I am not able due to an SSL Handshake issues between my localhost and the server. It seems the reason for this issues is that the URL...
View ArticleHow to Trigger Talend pipeline from Power Auromatw using REST API [closed]
I am trying to design a flow to trigger the Talend ETL job via API call from power platform. Talend job is in TMC.Tried the POST method but I think its got limitations and the web service endpoint...
View Article