Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
44 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
2 answers
69 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
-5 votes
1 answer
110 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
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
1 answer
55 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
1 vote
1 answer
325 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
39 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
56 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
1 vote
0 answers
48 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
1 vote
1 answer
70 views

In component, const [ updateproductapi ] = useUpdateProductMutation() formdata.append("product_name", product.product_name); formdata.append("product_price", product.product_price);...
tytom2003's user avatar
1 vote
1 answer
63 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
0 answers
29 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
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
0 votes
1 answer
75 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
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
-2 votes
2 answers
75 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
0 votes
1 answer
44 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
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
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
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 votes
1 answer
64 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
1 vote
2 answers
191 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
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
62 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
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,879

1
2 3 4 5
45