Questions tagged [post]

POST is one of the HTTP protocol methods; it is used when the client needs to send data to the server, such as when uploading a file, or submitting a completed form. The word post has several meanings, but this tag is specifically about HTTP POST requests.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Lambda function does not extract event json data

In angular, i make a http request with headers and json data such as DynamicSend1. In a lambda function, i try extracting that json data by doing event.DynamicSend1. but this does not work, it cant ...
d-4ra's user avatar
  • 1
-2 votes
0 answers
46 views

Sending form data using XMLHttpRequest including array [closed]

I have a form which includes an array and I want to send the form data to a php file for processing. I believe the array is causing processing issues in the php file as when I send the data not ...
Chris Chalmers's user avatar
-2 votes
1 answer
25 views

Addressbar url gets all the posted data when preventing submission

The opened route is http://localhost:8080/clients. A modal containing a submit button is opened inside the page when clicking a button. I want to make a manual post when clicking the submit button : &...
pheromix's user avatar
  • 18.3k
0 votes
0 answers
16 views

Force image size for Facebook post feed

I'm using PHP Graph SDK to publish posts with images on Facebook, the source image is 900x900px. This is my code in summary: require_once('php-graph-sdk-5.x/src/Facebook/autoload.php'); $fbk_appid = '...
RobertIT's user avatar
  • 113
-2 votes
2 answers
33 views

There are NO SPACES between paragraphs on my blog post in MOBILE view

There are NO SPACES between paragraphs on my blog post in MOBILE view. In PC or desktop, the post are OK but in mobile view spacing has problems. my website is factbud.com click on any of the post and ...
edmondpogi's user avatar
0 votes
0 answers
17 views

Problem to request and response in POST method with express js

I have a small inconvenience, I am learning to use fetch in the fronted and express.js in backend. My problem is that when making the request with the following code: const sendData = async e => {...
rj.dev's user avatar
  • 33
-2 votes
0 answers
86 views

PHP $_POST gets populated asynchronously [closed]

I need to call a .php file using an ajax request. However, I do not end up having the expected variable values, as explained below. Debugging this is limited by the fact that echoing the problematic ...
D_00's user avatar
  • 1,457
0 votes
0 answers
17 views

Why when sending a post request to another service, the data is transmitted incorrectly?

So, what's going on and what I mean. I have this code here. def predict_nn(self, dataframe): model_predict_heating_time = model.predict(pd.json_normalize(dataframe)) create_post(...
Sergey Oblasov's user avatar
0 votes
0 answers
6 views

Allow the post author and commentor to see comments and hide comments from other commentors

I have a WordPress website based on multi-vendors. my site allows any registered person to make a post and any other registered can make a comment on it that post. the question is.... 1- I want to ...
Technoloki Space's user avatar
0 votes
0 answers
9 views

Spring Boot JWT authorization/authentication

I am trying to build backend for register and login, but I do not know how can I create JWT for user after login in or sign up, Can You suggest me what I should do? My goal is to login/register via ...
GPPiotr's user avatar
0 votes
0 answers
7 views

How does Elo Touch POS Terminal Android SDK connect with React Native?

How does Elo Touch POS Terminal Android SDK connect with React Native? I use: print, scanner bar code, cash open
Diyor Abjalilov's user avatar
1 vote
1 answer
20 views

Upload file with method POST with httr2 in R

I want to POST a request to upload a file (a png in this case) with httr2 in R. This example uses upload_file() of the superseded package httr (found in this answer): library(httr) media <- ...
Duccio A's user avatar
  • 1,432
0 votes
0 answers
16 views

Vue Composable for POST request to api

im having problem with creating the vue composable for post request.Dont know if im on the good direction with this code, cuz when i try to test it recive status 400. import { ref } from 'vue'; import ...
vinopij123's user avatar
1 vote
1 answer
53 views

After saving the data to the database once, it does not save the second one

I'm pretty new to this industry. This is the Create method in BaseRepository: public async Task CreateAsync(TEntity entity) { await _db.Set<TEntity>().AddAsync(entity); ...
Dilara PINAR's user avatar
-1 votes
0 answers
49 views

Perl LWP::UserAgent POST with submit button didn't work. Response is the same page

I'm trying to automatize phpBB installation using a Perl script. I'm creating a UserAgent object and set form data for the first form in the installation process: # INSTALL STEP ONE ## Welcome to ...
VictorP's user avatar
  • 24
-1 votes
3 answers
37 views

react js post data to node js server with axios

hello i have a axios request to post data to node js server but when i try to access to this data in the server i get that it not defined . this is the function post data: function Submit() { ...
Ahmed_Aboutalib's user avatar
1 vote
0 answers
41 views

FastAPI backend is not working with React Native

API request code I used: const res = await fetch('http://172.20.10.2:8000/signup', { method: 'POST', headers: { 'Content-Type': 'application/json', }, ...
Ravi Mishra's user avatar
0 votes
1 answer
14 views

Send several POSTs using Data Body from random files

JMeter scenario: The purpose: I need to send a POST HTTP Requests (several requests at the same time for performance verification, each one is with separate thread) using the contents of random files ...
Vadiks Charny's user avatar
0 votes
0 answers
28 views

POST request with file, data, auth, headers

I want to create a POST request that sends data and a file to a web site. There is a password and a username that is required, also a action header. The file needs to be base64 encoded. All data needs ...
OneNewBee's user avatar
0 votes
0 answers
42 views

POST method works locally but not in production 405 (Method Not Allowed) - Nextjs

The code locally works perfectly but when I upload it to Vercel it gives me the error 405 (Method Not Allowed), the code stops working in the POST method, I checked everything and I really can't find ...
Fernando Laxi's user avatar
0 votes
0 answers
26 views

I can't send data view to controller in ASP.NET Core MVC project

That is my view: @model DBYTest.Models.TblDebitEnter @{ ViewData["Title"] = "Debit Register"; } <!DOCTYPE html> <html> <head> <meta charset="utf-...
Mete Sert's user avatar
0 votes
1 answer
32 views

Laravel - post route methodNotAllowed

I have this methodNotAllowed problem in a laravel project when using a post request to update the db. ItemController which has an update method but also a another customUpdate method: public function ...
sebi's user avatar
  • 21
0 votes
0 answers
10 views

Elementor post layout design custom

guys, so I wanted to create a page in wordpress using Elementor (Free Version), The problem here am facing is that am not able to edit the post grid layout I just want to display the first image of ...
Khuzema Patan's user avatar
-1 votes
0 answers
13 views

What are some ways on how to solve the "challenge" in roblox API?

I am experimenting with Roblox's API, making accounts, and more. I am wanting to know something to solve the roblox API challenge, which there are almost no options on the Internet. Anyone got some? I ...
alex's user avatar
  • 17
-1 votes
1 answer
50 views

Issue with POST requests in PHP after server migration

I recently migrated my code which was completely functional on the previous server but on the new server, POST requests are not working but GET requests work fine. Also, the issue seems to occur when ...
Quatban Taco's user avatar
-1 votes
0 answers
32 views

POST 404 (not found) with typescript frontend to python (flask) backend

Trying to send a formData instance from frontend to backend, and then receive a response. This is the code in the frontend // Make the fetch call fetch('/upload-file', { method: 'POST', ...
user13292868's user avatar
0 votes
0 answers
12 views

NS_BINDING_ABORTED - why browser unexpectedly transform POST request to GET request

Currently I'm working with ancient ASP site (not ASP.NET), I write very simple JS script for submitting form for Delete button and checkbox list. In that script I simple add one parameters and want to ...
Alex's user avatar
  • 387
0 votes
1 answer
12 views

Is there a more secure way to request access_token in OAuth 2.0 Authorization Code Flow with PKCE

I have this typescript req_access_token function to get the access token from the twitter api. I'm passing the code_verfier in the url variable and I guess this is not the most secure way but this is ...
Ahmed El-Hindawi's user avatar
0 votes
1 answer
17 views

Getting NaN for length inside object, node , express

app.post('/add', (req, res) => { const newperson = { id: person.lenght +1, Text: req.body.text, Type: req.body.type } person.push(newperson) console.log(person.slice(-1)) res....
RRG Official's user avatar
0 votes
1 answer
16 views

Error no photo data when uploading a photo from react js to mongodb

When i upload an image to my website it sends the image to the backend to upload the image to mongodb database, I upload the base64 of the image to the database but the problem is that sometime the ...
Nutrino DAYA's user avatar
0 votes
0 answers
26 views

POST method from input HTML to spring boot

Could You help me with POST method in my HTML? Okay so I have a localhost:8080/create-your-package with form and text inputs with labels. I have too a second endpoint on localhost:8080/create-package ...
GPPiotr's user avatar
0 votes
0 answers
19 views

Error 404 in the middle of a post with Striga, what is the reason? [duplicate]

This morning I was asking about an error that was causing a link. The code turned out good but now a new error appears, inside the POST window. The idea of this is to send a request to the POST link ...
Daniel González Pitt's user avatar
0 votes
0 answers
39 views

Async axios request executing before conditions are met

I have an async function which takes a user object as a parameter, then calls 2 hubspot endpoints using the await keyword. The first is a GET request to return a user object from the hubspot database. ...
o-mac's user avatar
  • 1
0 votes
0 answers
20 views

How to apply @csrf laravel in reactjs. 419 | page expired

@csrf problem. How do it work? when i clicked it, showed page expired | 419 function Modal() { return ( <> {/* You can open the modal using document.getElementById('ID')....
Muhammad Yuda Yudistira's user avatar
0 votes
1 answer
53 views

Trying to complete POST with Striga API, HMACs did not match

I'm developing a bank app with Striga API Rest but I can't validate this POST for create a user. Any can help for make this? Thanks! Output error (On browser): Array ( [authorization] => HMAC ...
Daniel González Pitt's user avatar
0 votes
2 answers
66 views

Checking JSON object validity on POST method input in ASP.NET Core Web API

I have a problem in an already realized project. Here I will give a simpler example to isolate the problem. Let's suppose we have a simple Person class. namespace JsonTest.Models; public class Person ...
prbrq's user avatar
  • 1
0 votes
1 answer
23 views

use both PUT and POST methods from same API using FastAPI

I'm about to create an API using FastApi wherein I have to search for 'user_name' in db. If 'user_name' exists then I have to update the user_details. If the 'user_name' doesn't exist, then I have to ...
madhu mitha's user avatar
0 votes
0 answers
29 views

Laravel 9 POST Route Appears as GET Instead of POST

I'm encountering an issue in Laravel 9 where I have defined a route with the POST method, like so: Route::post('receive-waiver', ReceiveWaiverController::class); <?php namespace App\Http\...
Rommel Verterra Traya's user avatar
0 votes
0 answers
24 views

wordpress page link to the post

I need to set up on a wordpress blog so that the user can insert a link to another page in a new post. I need to automate the creation of a link to another page so that after inserting a new post that ...
peterlamp's user avatar
-3 votes
0 answers
36 views

I am developing a software using reactJS where while fetching data from API using post method I was not able to fetch data [duplicate]

Image showing error in frontend Below is the code in which I am facing error and unable to fetch data from the database using API. Also the request is being sent through the API but facing error to ...
Jeel Maheshwari's user avatar
0 votes
1 answer
27 views

It is not possible to make a request to the server over a unix socket using aiohttp

I'm trying to make a POST request to a unix socket using aiohttp, but the following error occurs: await client.post('/test', File ".../test/env/lib/python3.9/site-packages/aiohttp/client.py&...
N.Maxim's user avatar
0 votes
1 answer
32 views

Spring boot validation POST method

I don't know why my validation size and notblank do not work when I specially enter wrong data into postman. When I do POST method in postman the package is created. What is the problem and how can I ...
GPPiotr's user avatar
1 vote
0 answers
43 views

apex_web_service.make_rest_request getting error 500: internal error

I need to do a HTTPS POST to a endpoint for authentication. I need to add some headers as well and I think this is the problem. Firstly I generate the XML, I've tested this in Postman and the XML is ...
Rody's user avatar
  • 21
0 votes
0 answers
14 views

How to post API payload request that will return a automatically download CSV file in react js [closed]

How to post API payload request that will return a automatically download CSV file in react js. Eexample: bank statement start and end date request return CSV file that automatically download when ...
gokul krishnan's user avatar
0 votes
0 answers
25 views

Post data to an API endpoint which is returning a server-sent event stream

I have an API endpoint, which is accepting a POST method, which is initiating a task in the background. While the task is running, it is responding with status updates. I am currently stuck in finding ...
Philipp's user avatar
  • 1,435
-1 votes
1 answer
23 views

$_POST is empty while Request Payload shows data, XMLHttpRequest [duplicate]

Have a good day! I'm using a JavaScript function to call a self-made php page via the post method, the $_POST variable remains empty though. I'm pretty new into PHP world and my problem might be a ...
Merlin the Immortal's user avatar
0 votes
0 answers
31 views

Need help creating a POST method in salesforce to consume an API

I need to integrate Salesforce with Mulesoft consuming an API. when an Account is created, I need to consume an API using a POST method where I should send the next request in JSON using apex classes: ...
Tomas Gauchat's user avatar
-1 votes
1 answer
15 views

Same request to server with form-data works in postman but do not works in axios why?

So, when i send request with form-data using POSTMAN i get the valid PHPSESSID which i can use to LOGIN to the website and parse authorized page. But, when i trying to do same request from axios or ...
Murad Rahmanov's user avatar
0 votes
0 answers
17 views

All of my POST request data is correct, and it (seemingly) follows all of BAND's documentation, am I just making a dumb mistake?

I'm using the following code to make a HTTP POST request to BAND's api (https://developers.band.us/develop/guide/api) import requests api_url = "https://openapi.band.us/v2.2/band/post/create&...
LucasTheDingus's user avatar
0 votes
0 answers
12 views

React Form with Express.js backend submits Null values into MySQL(XAMPP phpmyadmin) Columns

I am trying to submit data to a MySQL table, from a react form. my database is set up locally with XAMP. My backend end is powered by Express.js. I am able to submit data and get 200 response however ...
lzeek's user avatar
  • 1

1
2 3 4 5
816