How to POST a multipart/form data with files in a REST API
I am trying to write a REST API to upload an attachment. I have written the API. But when I am trying to call from POSTMAN, It's throwing an exception.REST API: @Consumes(MediaType.MULTIPART_FORM_DATA)...
View ArticleWhy does my Angular resource ignore the action-specific url?
I have the following Angular code:var app = angular.module('app', ['ngResource']);app.factory('Post', function ($resource) { return $resource('/post', {}, { query: { method: 'GET', url:...
View ArticleRest - GET vs POST
I want to design an API call following REST principles.Let's assume I want to get users info where Users are identified with ids.With a GET method, the call would look : /users?id=XXXXX, YYYYY, ....The...
View ArticleLink back http response to its http request in a concurrent execution
I am working on a C# Web API that performs a specific action using a third-party-api-1, executed concurrently for speed. Once I get my output from the third-party-api-1, I would further get additional...
View ArticleJWT strings must contain exactly 2 period characters. Found: 0
I have this class that uses JSON Web Token Support For The JVM to create and validate JWT tokens@Componentpublic class JwtTokenUtil implements Serializable { private static final long serialVersionUID...
View ArticleCan't get access to an endpoint
I have an endpoint that I made using djangorestframework. The view has a dispatch method for retrieving data from the request and sending it to post method.Endpoint:class Profile(APIView):...
View ArticleShould this Json result return a 404 or 200?
I'm trying to make an API sorta loosly based on StackExchange's api results.So here's my json output.{"items" : [ ... objects in here .... ]"page" : "page_size" : "total_pages" : "total_items_count" :...
View ArticleImproving upon the Security of my Export Remote DB API [closed]
I am working on an in-house application, and I am working on how our application communicates with our remote server.I have a PHP script that acts as an API to call to our MySQL DB and dump its...
View ArticleSocket Timeout Issue in tRestClient Component
I am facing a socket timeout issue in Talend while using the tRestClient component, despite increasing the timeout settings multiple times.Steps Taken So Far:Connection Timeout: Increased from 60s →...
View Articleapi platform - Unable to generate an IRI for the item
I'm starting with API Platform and I'm using the example entity "Foo":namespace AppBundle\Entity;use ApiPlatform\Core\Annotation\ApiResource;use Doctrine\ORM\Mapping as ORM;/** * Foo * *...
View ArticleParam is missing or the value is empty: user
I'm using Postman to test my API and I'm getting this error when making a call to http://localhost:3000/users.json to create a new user:param is missing or the value is empty: userAll the parameters...
View Article"How can I obtain the session ID in Informatica Intelligent Cloud Services...
I am trying to obtain session ID through SAML respons of iics login url using postman tool but facing issuesIs there any specific format i should apply to saml response as getting this error by...
View ArticleAPI endpoint link is working in Postman but not in Ruby on Rails with...
I am working on Ruby on Rails application which requires to access an External API via GET requests. The request needs to send some parameters with request. I have used Activeresource gem for accessing...
View ArticlecURL error 60: See http://curl.haxx.se/libcurl/c/libcurl-errors.html
I am trying to fetch profile data using the google+ rest API but I'm getting this error :Fatal error: Uncaught exception 'GuzzleHttp\Ring\Exception\RingException' with message 'cURL error 60: See...
View ArticleError: Unable to parse JSON, Kotlin REST Json Payload contains escaped double...
I am facing one issue. The application is Kotlin + Java. I am calling a Kotlin REST Resource passing the escaped backslash in the payload (This request is coming from external client). but I am getting...
View ArticleHow to fetch data server-side in the latest Next.js? Tried getStaticProps but...
I am working on a Django Rest Framework with Next.js, and I am getting stuck with fetching data from the API. I have data in this url http://127.0.0.1:8000/api/campaigns and when I visit the url I see...
View ArticleCalendly Api integration
Ihave a custom form on my website that users are supposed to use to schedule an event,Is there a way I could integrate to Calendly where I send this data as a post request to Calendly and a schedule is...
View ArticleUnable to Fetch Data from Custom Analytics Views in Azure DevOps API
I am trying to retrieve data from a specific Analytics View in Azure DevOps using Python. I am able to list all available views, including custom shared/private views, but I cannot fetch the actual...
View ArticleNo availability - revalidate itinerary with branded fares in Sabre
I'm using Sabre BFM REST API to get flight details and then trying to revalidate it using this request code ( Rountrip Flight details added in request below ):{"OTA_AirLowFareSearchRQ": {"Version":...
View ArticleMS Fabric REST API - get notebook definition
I'm using a MS Fabric notebook and want to get the definition of another notebook using the REST...
View Article