Quantcast
Channel: Active questions tagged rest - Stack Overflow
Browsing all 3607 articles
Browse latest View live
↧

Detect Client Termination in REST API PHP [closed]

I am having a PHP api ,now when the client request the api service and while the server is processing the request the client crashes , so at that point i want my server to detect the client has closed...

View Article


Image may be NSFW.
Clik here to view.

cURL 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 Article


Purging cached urls in akamai through java code?

In my project, whenever an API is called it gets cached in Akamai. But when a client changes something in the database through UI. We need to invalidate cached API's response in AKAMAI and fill it with...

View Article

Resetting a leadSource value on a Customer Record

I am trying to update a Customer record leadSource field to nothing (resetting the value) using NetSuite REST endpoints. Sending anything other then the valid value results in an error: "Error while...

View Article

POST request RAML exclusion conditions

POST RAML schema, JSON format:{"$schema": "http://json-schema.org/draft-04/schema#","definitions": {"uuid": {"$ref": "../_common/types/uuid.json"},"url": {"$ref": "../_common/types/url.json"} },"type":...

View Article


what is the difference between List subscription component for site and List...

I was going through the API doc of Maxio Chargify and noticed two endpoints in the API doc under Subscriptions List Subscription components for site and List Subscription Component, by sample response...

View Article

Asynchronous HTTP Request return Value in Swift

I'm dealing with a design problem right now. I'm writing a Swift App, which has a Storyboard with multiple ViewControllers and a Class HTTPRequests, which performs GET and POST Requests on a RESTful...

View Article

Google Oauth 2.0 throwing error "invalid_grant" in .net 6 project

{"error": {"error": "invalid_grant","error_description": "Invalid grant: account not found","error_uri": null},"statusCode": 400,"message": "Error:"invalid_grant", Description:"Invalid grant: account...

View Article


Image may be NSFW.
Clik here to view.

Empty Form When Initializing from Rest API

I've Defined a 2 pre-rendering processes1-GEtEmpData : Invoke API (Rest API).2-Initialize form Employee Home Page.The Issue is, when the pages open, the Form is Empty and is not initialized.While I've...

View Article


run jasper report using rest request in C# asp.net

I have been trying for days to get jasper reports integrated with my .net website. I have tried several ways including the soap and rest service as well as a custom library suggested in another...

View Article

Image upload by rest api to TikTok integration via image string generated by...

I am trying to make http multipart request from my app to tiktok, but getting the response**param body.data is invalid,detail:type incorrect,expected type:binary**here is the my code: public function...

View Article

i can not solve 'set' object is not subscriptable in django rest framework

My django project stopped working recently and is showing me 'set' object is not subscriptable error . I want to know how this error can be solvedHere is my 'urls.py''''//this is the urls.py and the...

View Article

How do I resolve this NullPointerException related to...

I am trying to make a Pokedex app that fetches pokemon data from API using retrofit2.It logs the following error when I try to run itError:FATAL EXCEPTION: main Process: com.example.pokemonapp, PID:...

View Article


HTTP Authenticated Subject Alias Redirect

Given an HTTP REST service that manages identity data, for example, where a user resource is available at /Users/{id}, I would like to define a URI alias, /Me, that allows authenticated callers to...

View Article

Image may be NSFW.
Clik here to view.

Spring Rest Controller with Byte Array file

I am trying to send a byte array of a file content from angular to the rest api. But I am getting Http 403 forbidden. I don't have any security enabled. I am not sure what I am doing wrong. I tried...

View Article


Django - How to filter by date with Django Rest Framework?

I have some model with a timestamp field:models.pyclass Event(models.Model): event_type = models.CharField( max_length=100, choices=EVENT_TYPE_CHOICES, verbose_name=_("Event Type") ) event_model =...

View Article

Yii2 REST query

I have a ProductController which extends the yii\rest\ActiveController.Question is that how can I make queries via HTTP GET requestLike: http://api.test.loc/v1/products/search?name=iphoneAnd the return...

View Article


Upload files in SuiteCRM using the v4.1 API through the body of the request

I'm using the Suite CRM v4.1 API and I'm developing a webapp that allows users to upload files to the CRM.The code works, however the request requires the use of parameters which get appended to the...

View Article

how to handle Flutter Rest API call error with Dio

When working with Nested json object or Complex json using Dio. Give me this errortype 'Null' is not a subtype of type 'String'My question is Null Safety is the first thing thats i am doing but if have...

View Article

File downloading with React Axios and PHP Rest API

I am developing a project with React and writing the services in the backend with PHP. I added a button to the frontend and triggered the following function. const ProcessClicheExport = (postData)...

View Article
Browsing all 3607 articles
Browse latest View live


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