rest Questions
3
Solved
I've got a REST call (POST) for downloading a PDF file. The API call responds in a binary version of the PDF file. I want to save the file on my machine as a .pdf. However, I am getting an error:
...
Daubigny asked 29/1, 2018 at 22:58
7
Solved
I am using ReSTful webservice. I am uploading multiple photos with one function (PHP).
I have used $num_files = count($_FILES['myfile']['name']) to count number of files that are to be uploaded bu...
Vietnamese asked 28/1, 2015 at 5:31
3
Solved
I want to post articles with rest on one of my wordpress.com websites (wordpress website hosted on the free wordpress.com platform).
Endpoint, GET on: https://public-api.wordpress.com/wp/v2/sites/...
5
I am trying to create an API using Next.js & Prisma. I have two model user & profile.
I want to create user & also profile field from req.body using postman.
datasource db {
provider =...
7
Solved
Since bitbucket no longer supported the use of username. We must instead use User uuid for accessing the bitbucket api's.
Depreciated or Earlier
https://api.bitbucket.com/2.0/users/udayRatan
...
Numeration asked 31/12, 2018 at 5:33
4
Solved
I am new to Django Rest Framework. Using serializer and views a simple CRUD is easy. When the logics increase, it is quite confusing where to write logics in serializer or views.
Some developers do...
Cockade asked 7/8, 2019 at 5:49
3
Solved
I am working on an API and Thunder client extension in VS code seems to have change the way of sending cookies along on every request. How do I do that, any help will be appreciated.
Cookie is not ...
Subalternate asked 11/11, 2022 at 12:0
2
In the pytest documentation it says that you can customize the output message when an assert fails. I want to customize the assert message when testing a REST API method it returns an invalid statu...
Adelric asked 13/6, 2017 at 12:39
5
Solved
Below is a stacktrace I get when my rest service tries to fetch a large data set (database and tomcat are on my local machine, so everything is local). It works on smaller ones, but in some cases u...
4
Solved
While running springboot restservice application got 404 error. I am using spring boot, jersey rest. I have tried GET requests http://localhost:8080/dunames but not able to resolve. Please help.
...
Jump asked 26/10, 2017 at 6:48
5
Solved
I am trying to pass an array as query parameter in Postman.
I am calling DELETE method to delete a user from list of databases. It is expecting list of database names as array in the query parame...
Chaconne asked 3/3, 2020 at 7:4
8
I have a Django app which returns a large JSON while calling an API.
The problem is when I'm requesting the data, the data itself is truncated which is crashing the frontend.
I'm using cloud front ...
Mcilroy asked 2/6, 2019 at 8:9
4
Solved
I am currently developing REST services and throwing BadRequestException for all of the following,
1. Path parameter is invalid
2. Query parameter is invalid
4. Input request object has missing at...
2
Short Version: How does the new Calypso application (powering Wordpress.com) communicate with a privately hosted Wordpress blog via the Jetpack plugin? i.e. Does Jetpack expose an API on my Wordpre...
Cupid asked 25/11, 2015 at 18:7
8
I have some model with a timestamp field:
models.py
class Event(models.Model):
event_type = models.CharField(
max_length=100,
choices=EVENT_TYPE_CHOICES,
verbose_name=_("Event Type")
)
even...
Photosphere asked 12/5, 2016 at 10:17
9
Solved
I wanted to upload an image to my Rest API through postman. I am using spring boot framework. Here is the screen shot:
I also have not set any any headers as I found in other stack overflow an...
Loveinidleness asked 8/11, 2016 at 13:48
9
Solved
Is it possible to send push notification with REST API on Firebase? I can send notifications with Firebase console but i need to send notifications with REST API.
Mombasa asked 27/5, 2016 at 19:2
5
I am trying to use the NetSuite SuiteTalk REST Web Services to access NetSuite CRM data.
I have the access up and working in production. Able to retrieve record data and metadata.
I am now trying...
Templas asked 22/12, 2019 at 19:55
3
Solved
Note: this question is here for historical reasons or for users of Powershell < 6.0.0. This problem should not occur in Powershell 6 and beyond.
I'm trying to use the powershell cmdlet Invok...
Messieurs asked 25/10, 2017 at 14:10
4
Solved
The web application is a REST API and a SPA. It's maintained and currently on .NET 6.0 and have been working steadily for years.
The requests are CORS and the server is properly configured for this...
Kwarteng asked 29/5, 2024 at 18:20
8
I've read about Fake json-server and I'd like to watch more than 1 file.
In the instructions it is listed
--watch, -w
Watch file(s)
but I'm not able to make it working if I launch it as
json...
7
Solved
I'm developing a Laravel 4 app that will make the same CRUD operations on my data set available through a JSON REST API and a Web UI. It seems that to prevent breaking the DRY principle that my UI ...
3
I tried with this line, is it the right way?
I got this error:
Fatal error: Uncaught Error: Undefined class constant 'DOWNLOAD_JOBS' in /home/nplusbic/public_html/wp-content/plugins/wpml-translati...
4
I'm struggling with the basics of Spring Security here.
What I wish to achieve
My system is only for REST API handling, there's a login endpoint POST on /user/sign_in and a few open endpoints - G...
Anissa asked 2/12, 2016 at 8:28
13
I have web service URL, it working fine. It gives the JSON data.
When I am using HttpURLConnection and InputStream, I am getting this error:
java.io.IOException: unexpected end of stream on
Con...
Featurelength asked 23/8, 2017 at 11:43
© 2022 - 2025 — McMap. All rights reserved.