My resource worked fine till now. I added @QueryParam there. If I make request without writing query param to uri it works fine. After I write query param to th
#Following in my code for redirect along with variable in nodejs app.post("/newcall", function(req, res) { var f = (req.body.try); console.log("val"+ f) r
This is not a question for a particular use case, but for something I noticed in my experience doing APIs, specifically with using Django and Django Rest Framew
I'm working in a project which relies in a Django User model and TokenAuthentication under DjangoRestFramework I was requested to get last login datetime for e
I'm taking another look at graphql, and I'm trying to understand why saving round trips is a benefit to developers. Is the cost of making a request so expensive
I want to write Web services(REST) and Consuming using Curl in php. $books = array( "java"=>"222", "php"=>"333", "c"=>"111",
I am using Django Rest Framework Token authentication and if i do curl http://localhost:8000/api/v1/users/?format=json -H 'Authorization: Token 0a813fdcd3f8846d
Im using JAX-RS jersey ExceptionMapper, and I'm wondering if there is a way to know inside the method toResponse(), which method (from the API) threw the except
I am working on oauth implementation, by following the https://developer.okta.com/blog/2021/05/05/client-credentials-spring-security It's a test client, I am ge
Could someone please supply an example of the use of the DocuSign REST API EnvelopeAttachment: update request (PUT /restapi/v2.1/accounts/{accountId}/envelopes/
I'm using Django Rest Framework and Token Authentication. Everything works great so far. http://www.django-rest-framework.org/api-guide/authentication#tokenaut
I want to create a folder hierarchy in a GIT repository on Azure Devops using the REST API. (automated via a script) The docs https://docs.microsoft.com/en-us/r
I have REST backend api, and front end will call api to get data. I was wondering how REST api handles continuous data update, for example, in jenkins, we wil
When i execute this url: http://domain:8081/forum?id=2&page=26 with this code: @route('/forum') def display_forum(): forum_id = request.query.id p
I have created a .proto message and I'm exposing a rest service which looks like this @Path("/test") public interface test{ @POST @Produces("application/x-pr
I want to pass some arguments to DRF Serializer class from Viewset, so for I have tried this: class OneZeroSerializer(rest_serializer.ModelSerializer): de
My app requires data to be gathered from an external API. I am using Guzzle. My API methods are written into a separate class stored in a library folder. I ha
I'm developing some kind of RESTful API. When some error occurs, I throw an App::abort($code, $message) error. The problem is: I want him to throw a json form
I am a bit confused while trying to get Postman to work when testing the API of my application. Namely, I am using Passport authentication; however, I do not kn
When you upload a video to YouTube, it automatically transcribes it and creates three different CC (closed-caption) files. They can be downloaded via the YT Cre