Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
25 views

I'm trying to fix a bug in a Nuxt application. The app has a user profile page with an edit button. When editing the user a PUT request is made to save the new data. How do I make this work? I'm only ...
Linda's user avatar
  • 93
1 vote
1 answer
62 views

I'm using Angular 20 and ngx-uploadx, but I can't seem to select a method for the API request. How can I select the method for the request, for example PUT? This is my code: const uploadOptions: ...
Cheball's user avatar
  • 11
0 votes
1 answer
28 views

I'm designing a REST API that provides an integration layer to an underlying system I have no control over. Without going in to detail, in this system, there are products with default prices. A custom ...
mbloms's user avatar
  • 31
0 votes
2 answers
71 views

I'm working on a Laravel 10.x project with an API that allows updating an event using a PUT /events/{id} endpoint. This endpoint accepts multipart/form-data to optionally upload an image and pdf, and ...
Kadir Buğra Akkuş's user avatar
1 vote
1 answer
72 views

I want to submit a form to my backend and use the form data as the initial value for my form. Simple stuff if you are using a POST request: def intervals(request, **kwargs): form = MyForm(initial=...
TeaDrinkingProgrammer's user avatar
-5 votes
1 answer
112 views

I'm using Laravel 12 now. And, in the document of laravel.com, descript about @method Blade directive like below: https://laravel.com/docs/12.x/blade#method-field Method Field Since HTML forms can't ...
Masahiko Nakashizu's user avatar
0 votes
1 answer
192 views

I have an API that I am accessing using Bruno and its a PUT request that does not require a body. When I try this as a Web activity in ADF I get the error a 'valid body is required for PUT and POST ...
CGarden's user avatar
  • 349
3 votes
1 answer
62 views

The method saveToDatabase() that I use to store the list of questions to my db.json on Github, returns 404 status code from the PUT method. Whereas, the same method returns a 200 status code when ...
Sameer Ahmed's user avatar
0 votes
0 answers
60 views

Problem: my Node.js sync server logs show successful product updates in WooCommerce (HTTP 200 responses), but when checking the WooCommerce admin panel: Some price/name changes aren't actually saved ...
Navitank's user avatar
0 votes
1 answer
57 views

I am creating a dataset on AWS S3, for their Opendata program. I am fetching audio files, which are already stored on S3. I then segment them into smaller audio chunks, and putting those on S3 again. ...
user305883's user avatar
  • 1,739
0 votes
0 answers
42 views

I am creating a todo list app using React and Python. But the update todo function is not working properly and gave me TypeError: Todo.put() got multiple values for argument 'todo_id'. @blp.arguments(...
Lena's user avatar
  • 1
1 vote
1 answer
335 views

I'm facing a strange issue in my Laravel Inertia.js project. I can successfully create new 'Ville' resources, including image uploads. Updates also work fine if I don't upload a new image. However, ...
Stuff lahza's user avatar
0 votes
0 answers
28 views

I am trying to send a file to a signed URL using PUT request but the file is not uploading. Below is my code: const uploadToBucket = async (uploadUrl, fileUri, contentType, fileSize) => { try { ...
Shafi ul Hussnain's user avatar
0 votes
0 answers
45 views

I am trying to send a PUT request using UnityWebRequest to update game data on a server. However, I keep getting the error: css Copy Edit Error: 400 - {"message":"Invalid json data"...
Abdul Rehman's user avatar
0 votes
0 answers
26 views

I do not have much experience with testing in .NET. I ran into an issue that I do not understand how to solve. Please advise where I can read about it. I have a backend code that works with a simple ...
Ira 's user avatar
  • 1
0 votes
0 answers
57 views

I'm working on a simple DB and I need to have an error 409 show up in Postman if when updating the patient record the email has already been used by another patient in the DB. I'm getting the 409 just ...
Kristy Murphy's user avatar
0 votes
0 answers
32 views

The backend method in Java @PutMapping("/withdraw/{accountId}/{amountToWithdraw}") public ResponseEntity<Account> withdrawMoney(@PathVariable int accountId, @PathVariable double ...
Marius Carchilan's user avatar
1 vote
0 answers
49 views

I have a Web Site (Angular 16). That's deploy in IIS 10 (HTTPS port 443 with a Certificate) I have ARR enabled, and on my web site tengo a rewrite ruler. My back-end is in Node.js. It's running in the ...
Jorge's user avatar
  • 21
0 votes
1 answer
605 views

I'm facing an issue while trying to send a PUT request with FormData in Laravel using Inertia. I need to update a user, but the PUT request seems to be ignored, and Laravel is not processing the ...
Saqif Haque's user avatar
1 vote
1 answer
72 views

In component, const [ updateproductapi ] = useUpdateProductMutation() formdata.append("product_name", product.product_name); formdata.append("product_price", product.product_price);...
tytom2003's user avatar
0 votes
1 answer
94 views

I am developing a FireFox addon. I want to make that every time a PUT web request with debug_source: "played_threshold_reached" in its JSON request body is sent, the extension sends it with ...
Delar's user avatar
  • 1
1 vote
1 answer
64 views

I'm getting 403 response with this error page. I'm sure my API token is correct, because my other functions working very well. <Error> <Code>SignatureDoesNotMatch</Code> ...
Emir's user avatar
  • 11
1 vote
2 answers
154 views

I am new to SAS environment. I just want to create a global this month variable and print it & use it in the where condition of data step. My test codes are below: %macro vars(); %...
ffdd's user avatar
  • 23
1 vote
0 answers
33 views

I have this code in Java 8 using RestTemplate. @Override public ResponseCambioEstadoDTO actualizarLead(String idLead) { Map<String, String> uriVariables = new HashMap<>(); ...
joseluisbz's user avatar
  • 1,696
0 votes
1 answer
94 views

I have a web API application which when deployed in IIS server, PUT and DELETE methods alone does not work. But it works fine locally. When I tried investigating more on various options like disabling ...
gandhi's user avatar
  • 1
2 votes
1 answer
130 views

I'm trying to implement Google's YouTube video uploading API in Perl, which, alas has no library for such. I've run into an issue with the actual PUT to upload the video file. LWP::UserAgent has a ...
Timothy R. Butler's user avatar
-1 votes
1 answer
121 views

I have a weird problem: Uploading a image in local WORKS perfectly but when I upload to Production in digital ocean it does NOT. Iam using laravel 11, vue 3 and InertiaJS What happens in Production ...
Marco Feregrino's user avatar
0 votes
1 answer
76 views

If PATCH can do everything that PUT can do then why even PUT exists? I researched a lot on this topic and I am able to know basic difference between the two. PUT is for creating or updating/replacing ...
Arhit Singal's user avatar
0 votes
1 answer
45 views

Here is a snippet of code from one of my newer html projects: <form action='https://www.Bing.com/' method='PUT'> <div> <label for='newTab'>New Tab?</label> <input ...
John Code's user avatar
0 votes
1 answer
44 views

I've built a small HTML/JS page that uses GitLab API to upload files into the Package Registry like: <input class="form-control mb-1" type="file" id="formFile" /> &...
NicoCaldo's user avatar
  • 1,699
1 vote
0 answers
44 views

I am trying to insert an object into BullHorn using its API. Besides, I am using a PUT method as documentation indicated me. This is my code: HttpResponseMessage response = new HttpResponseMessage(); ...
Kenzo_Gilead's user avatar
  • 2,479
-2 votes
2 answers
76 views

I'm developing a laravel api using resource controller. There I have to use PUT method for updating something. When I try to pass data through body with form-data the validation error happens. I have ...
tuna_tumi's user avatar
1 vote
2 answers
558 views

I am working on an Angular application where I need to upload files or images to an S3 server using the http.put method. I have written the following code, but I am encountering issues with the upload ...
Akshay Deshmukh's user avatar
0 votes
1 answer
49 views

I am making this PUT request via Postman that has form-data body: PUT request And trying to populate the model using this line: $model->load(Yii::$app->request->getBodyParams(), ''); Trying ...
Akbar Ergashev's user avatar
-1 votes
1 answer
27 views

router.put('/edit-page/:id' , (req , res) => { console.log('Updating page:', req.params.id); console.log('Request body:', req.body.pageUrl); pageModel.updateOne({ pageUrl : req.params.id } ,...
Developer sir's user avatar
0 votes
1 answer
58 views

I have a React / Redux / Node app that is making a request to update a user: client/src/components/pages/AlignmentPage.tsx: const AlignmentPage = () => { const dispatch = useAppDispatch(); ...
Misha Krul's user avatar
0 votes
1 answer
176 views

I'm working on a Spring Boot application with a React frontend. I have an endpoint /employees/update that's supposed to update an employee record when a PUT request is made. However, I'm getting a 404 ...
Harihar Nagarajan's user avatar
1 vote
3 answers
2k views

I have form to update a product with necessary data (name,description..etc), it includes an input of type file, on change it will call function handleImage, which will then store the uploaded file in ...
johnny shepherd's user avatar
0 votes
2 answers
537 views

I'm trying to figure out a way to send files to S3 to a signed URL that has arbitrary "directory" and "filename". Understanding that S3 doesn't have directories. I can successfully ...
g0atm1lk's user avatar
1 vote
0 answers
1k views

I'm working on a React project using JSON Server as a mock backend, but I'm encountering a 404 Not Found error when attempting to send a PUT request to update an array of items. My JSON Server is set ...
Christopher Sheehy's user avatar
1 vote
1 answer
900 views

I don't see what's failing in the code; I want to consume a Put method, but when I do, the response returned by the API is: "errors": { "$": [ "The JSON value ...
Nery's user avatar
  • 23
-1 votes
1 answer
71 views

I do not know why I receive the respone: "415: Unsupported Media Type" I try to put new values. When I get some values it works fine. code snippet: headers = {} headers["charset"] =...
ziajak's user avatar
  • 1
0 votes
1 answer
44 views

In a REST context, should POST or PUT be applied if the database ends up calling a method to set field1 to zero in all records of table1?
vi0's user avatar
  • 370
1 vote
2 answers
195 views

I just couldn't find the answer to my problem online and I hope someone can help me. I made an API with nodejs and express (with some help from YouTube and Google). I was able to do some get and put ...
ItsaMeEr's user avatar
0 votes
1 answer
68 views

I am currently working in a C# project and doing some validations with FluentValidator. I have a doubt about doing the validations in a PUT request. this is the object i receive from the request ...
Diogo Miranda's user avatar
1 vote
0 answers
31 views

hello i am trying to update my report chambre , when i click modifier i should receive the data of room already selected ( idChambre) all the other fields are working good but not for idChambre this ...
eya joma's user avatar
0 votes
1 answer
263 views

I am trying to update the quantity of my stocks using this function and it says PUT 400 (bad request). In my terminal for the back, i've inserted a console.log that confirms if the PUT request was ...
Kristian Diaz's user avatar
0 votes
1 answer
65 views

I'm trying to duplicate an Insomnia POST request to an API endpoint in Excel. I believe I'm close but I'm obviously missing something in the Excel Power Query request. Here is the working CURL request ...
Dawg99's user avatar
  • 1
0 votes
1 answer
695 views

My issue revolves around a 'Product' model in my database, where certain values, such as the description, are optional and can either hold a string or a null value. I've created an update function for ...
unique_alex020's user avatar
0 votes
1 answer
2k views

I am trying to use Playwright to PUT multipart form-data with the Python API. Here is the relevant documentation. However, it's not clear how to structure the multipart argument. The docs say: ...
daviewales's user avatar
  • 2,889

1
2 3 4 5
45