How to write a REST API?
I'm writing an iPhone app as a hobby project and it will need a web service to provide it with data. It's not very different from what I do at work, but at work I only write views and controllers....
View ArticleHow i can get array from api in flutter?
I want to get following array with json instead of static.How can i get it ?static final List states = ['ANDHRA PRADESH', 'ARUNACHAL PRADESH', 'ASSAM',];This array i want to get from api link how can i...
View ArticleHikari connection IO Error: Invalid Operation, NOT Connected
I am using Spring boot 2.16 with Java 8 and Oracle 12c for my REST based web application. My web application was running fine for last three years but now the application is stopping randomly once or...
View ArticleWhy no CORS error when curl rest API request [duplicate]
I have to call a rest api. When the call is made with frontend javascript fetch request from within a web page then I get back a CORS error form the browser. But when the same request is made from...
View ArticleAPI Response Nesting Level
I am developing an external API which will render data to our customer. The API response will mostly be used in ETL tools like AirBytes or FiveTran. And since most ETL prefer flattered response format,...
View ArticleNo subresource locator found for path /
I am writing a simple cxf configured restful service. But I keep getting this error "No subresource locator found for path /" for a particular method. While this method is correctly mapped the url and...
View Articleaccess token fails to parse with jfrog Artifactory GET search query
I'm trying to use a jfrog Artifactory search REST API to retrieve an artifact. When I just flat-out download, that works, but when I try "GET" REST API with search parameter (similar to this...
View ArticleConnect REST Catalog to ICEBERG on Google Cloud Storage
I have a couple of BigQuery tables for Apache Iceberg, as seen on their documentation page. This created the respective metadata and data folder where the parquet files are stored, on my GCS bucket.I'm...
View ArticleUnable to enable Chrome xdebug helper on REST API endpoint page
I'm working on creating a custom REST API endpoint in my Drupal site, and for some reason I am unable to enable debugging at my REST API URL with the Chrome Xdebug Helper plugin; clicking on the icon...
View ArticleSpring Restclient.exchange null response handling in spring 6.2.3
when migrating from spring 6.1.5 to spring 6.2.3 I noticed in the RestClient interface that the the exchange method is now nullable. link to docsHow could you end up in a situation where Restclient...
View ArticleWhile using Postman tool to run collection is there any way so that there no...
While using Postman tool to run collection for authentication purpose I am using cookie, I need to capture the cookies every time I want to run the collection. Is there any way so that there no need to...
View ArticlePostman mock server for requests with dynamic request headers/body
I am using Postman mock server to create a mock endpoint where I need the response of the request to contain the request parameter as well as few other key values.For example, if my endpoint is...
View ArticleData storage after API call form Postman/SoapUI
I need to create an automated test-setup for some webservies, and plan to use SoapUI or Postman for that. My question is pretty basic. What happnds to the data after a request is made?E.g. if the...
View ArticleWhy isn't Yelp returning all of the results?
I am using the Business Search function in the Yelp Fusion Api.Why can't I seem to get all of the businesses?Here is an example:When I make this request, it returns a the first 20 results and a total...
View ArticleHow to valid @RequestHeader in spring boot
How can I verify required header if it's missing or wrong format? @RequestMapping(value = "/example/{id}", method = RequestMethod.PUT) public ResponseEntity<>...
View ArticleHow to make an Async/await fetch post? getting 500 internal server error
I have succesfuly made a fetch post to my php api with my thisWorks() function, but I am trying to use fetch with async/await post () function but I keep getting back a 500 internal server error...
View Articlehow to post a file to an REST api via python
I have a sample curl command here to post a file to REST based API. my understanding is that, -F flag is used for multipart/form-data HTTP request and is required to upload a file(s).curl -X POST -F...
View ArticleHow to call Netsuite RESTlet from salesforce or any other application?
I have created RESTlet script to perform CRUD operations. I am calling that RESTlet from Postman. I have no idea of how to call the RESTlet from salesforce or other application for integration purpose?...
View Articlegoogle calendar api 404 exception
when i put url in browser, no any problems, i get responsebut when i send request on the similar url from java code, i catch...
View ArticleHow to upload file using Payload CMS REST API
I am working with playload cms & trying to create a doc in collection with a file, following this payload documentation article https://payloadcms.com/docs/upload/overview#uploading-filesCollection...
View Article